Closed eugenebovkun closed 7 years ago
Which version NPM and Node are you running? RC6 required me to update to NPM 3+ and Node 4.4.7
Try running:
npm install npm@latest -g
npm install
That should work. Edit: I just noticed you're already running NPM 3.10.6
Sounds like a npm cache issue or node_modules issue. Try wiping them both.
npm cache clean
rimraf -- node_modules
This appears to be a different problem as you seem to already run on 6.5.0
. Can you remove node_modules
and to an npm cache clean
. All packages specified also @angular/common
are available https://www.npmjs.com/~angular
Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass
after run npm install get such message: npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\Program Files\nodejs\node.exe" "[path]\npm\node_modules\npm\bin\npm-cli.js" "install" npm ERR! node v6.5.0 npm ERR! npm v3.10.6 npm ERR! code E404
npm ERR! 404 no such package available : @angular/common npm ERR! 404 npm ERR! 404 '@angular/common' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'angular2-webpack-starter' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request: npm ERR! [path]\npm-debug.log