balanced / balanced-dashboard

The Balanced dashboard.
https://dashboard.balancedpayments.com/
Other
2.28k stars 386 forks source link

npm dependencies unsatisfiable #1501

Closed aoberoi closed 10 years ago

aoberoi commented 10 years ago

when using npm ^2.0.0, because it parses versions with semver ^4.0.0, the npm-shrinkwrap.json file is unsatisfiable. here are the errors i'm getting:

npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.32
npm ERR! npm  v2.0.0
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package ember-template-compiler does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-ember-templates@0.4.20 wants ember-template-compiler@>=1 <2

this is related to the issue: toranb/ember-template-compiler#20

IMHO, the project shouldn't use npm-shrinkwrap.json, as its behavior is not exactly what one would expect if they were hoping it worked like a Gemfile.lock.

cohitre commented 10 years ago

Thanks for catching this. #1512 should fix this.

cohitre commented 10 years ago

Fixed on master