Im using packages.json from official Angular2 site, the quick start. Yesterday it was working fine, today npm cant resolve dependecies. I get error:
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! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/core@^2.0.0-rc.2
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/core@^2.0.0-rc
npm ERR! peerinvalid Peer @angular/[email protected] wants @angular/[email protected]
npm ERR! peerinvalid Peer [email protected] wants @angular/[email protected]
My npm-debug: http://q.i-systems.pl/file/3dd29e55.zip
This happens when you update some packages and leave some hanging, that's what angular just did in RC.3
.
So instead of fixing who needs what,
node_modules
package.json
from QuickStart, added my extrasnpm install
npm is happy again.
Upgrade npm worked for me:
npm install npm -g
Then delete node_modules and
npm install
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With