npm ERR! Darwin 14.5.0
I was trying to install angular-cli using the following command
npm install -g angular-cli@latest and the get the error described below,
npm ERR! Darwin 14.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "angular-cli@latest" 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! /Users/Chaklader/npm-debug.log
What should I do to resolve the issue ?
I have this exact same issue! Arghh
I thought this may only the Mac Os issue. Today I try to install Angular 2 in Windows 10 and still having the same issue. Is that because this is still in the Beta version?
I used angular cli on my laptop earlier today. I don’t get it! Both of my computers are OS X .
uninstalling and reinstalling angular-cli should fix the issue
https://github.com/angular/angular-cli/issues/1190 https://github.com/angular/angular-cli/issues/1190
You need npm3 to install the CLI: https://github.com/angular/angular-cli#prerequisites.
You can update npm by doing npm install -g npm
Thanks Filipesilva. Its good suggestion to check our NPM version. Its help me.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.