npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Unable to run Ionic serve

<!-- Hi! Thanks for taking the time to file a bug report! * Please make sure to fill out ALL sections! This will help us immensely! * Bug reports with working reproduction steps will be prioritized. * Incomplete bug reports and support issues will be moved to #support. I wanted to run ionic --serve and got a prompt to install npm.cmd i -D -E @ionic/app-scripts --verbose and got the below error npm timing audit body Completed in 36ms npm timing npm Completed in 153652ms npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ERR! npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2019-08-14T06_48_45_608Z-debug.log I'm using npm version 6.9.0 node version - v10.16.2 ionic version 5.2.4 Please help to resolve the issue. Thanks

Are you able to attach the log file?

Please find2019-08-14T07_06_28_779Z-debug.log (205.7 KB) the attached log

One of the dependencies is using a git URL (rather than a download from the npm registry), so you need the git command available to perform the install.


I’m still getting cb never called.

Please find the attached log file.2019-08-14T11_54_31_614Z-debug.log (693.0 KB)

Closer to working! (I do not know what is going wrong this time.)