Reputation: 196
I'm new in Angular. Here I am trying to create a new web application in Angular 8 I got this error:
.....................etc............
CREATE my-dream/e2e/protractor.conf.js (810 bytes)
CREATE my-dream/e2e/tsconfig.json (214 bytes)
CREATE my-dream/e2e/src/app.e2e-spec.ts (637 bytes)
CREATE my-dream/e2e/src/app.po.ts (251 bytes)
npm ERR! cb() never called!
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AppData\Roaming\npm-cache\_logs\2019-08-12T09_30_50_474Z-debug.log
Package install failed, see above.
I also installed npm`s latest version and started cmd using these commands:
```
npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
```
Upvotes: 0
Views: 109
Reputation: 94
C:\Users\AppData\Roaming\npm-cache_logs\2019-08-12T09_30_50_474Z-debug.log
Delete this and run the command in cmd ng serve --open
Upvotes: 0
Reputation: 222532
Make sure you have the latest Nodejs installed
Step 1: run npm install -g npm
Step 2: run npm cache clean
Upvotes: 1