angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

npm ERR! Darwin 14.5.0

Open Chaklader opened this issue 10 years ago • 7 comments

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 ?

Chaklader avatar Oct 15 '16 14:10 Chaklader

I have this exact same issue! Arghh

HuddleHouse avatar Oct 16 '16 04:10 HuddleHouse

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?

Chaklader avatar Oct 16 '16 04:10 Chaklader

I used angular cli on my laptop earlier today. I don’t get it! Both of my computers are OS X .

HuddleHouse avatar Oct 16 '16 05:10 HuddleHouse

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

HuddleHouse avatar Oct 16 '16 06:10 HuddleHouse

You need npm3 to install the CLI: https://github.com/angular/angular-cli#prerequisites.

You can update npm by doing npm install -g npm

filipesilva avatar Oct 17 '16 16:10 filipesilva

Thanks Filipesilva. Its good suggestion to check our NPM version. Its help me.

akshayextentia avatar Oct 19 '16 11:10 akshayextentia

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.