Reputation: 169
While I was trying to install angular-cli
using the command
npm install -g angular-cli
I get the following error,
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "angular-cli"
npm ERR! node v4.6.0
npm ERR! npm v2.15.9
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package @angular/[email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! Please include the following file with any support request:
npm ERR! C:\WINDOWS\system32\npm-debug.log
What should I do to resolve the issue ?
Upvotes: 0
Views: 151
Reputation: 40896
Looks like a problem with dependency resolution. Some dependencies that recent versions of Node can handle will cause errors on older versions.
NodeJS
version (6.8.1), npm install...
again.npm rebuild
Upvotes: 1