Angular-cli: npm ERR! Darwin 14.5.0

Created on 15 Oct 2016  路  7Comments  路  Source: angular/angular-cli

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 ?

Most helpful comment

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

You can update npm by doing npm install -g npm

All 7 comments

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鈥檛 get it! Both of my computers are OS X .

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._

Was this page helpful?
0 / 5 - 0 ratings