kenhkan / angular-curve

The Smoothest AngularJS Boilerplate
MIT License
11 stars 1 forks source link

karma does not satisfy its siblings' peerDependencies requirements #20

Open abbood opened 10 years ago

abbood commented 10 years ago

i keep on getting this error when i run npm install:

npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer grunt-karma@0.5.4 wants karma@~0.9.4 || ~0.10
npm ERR! peerinvalid Peer karma-chrome-launcher@0.1.4 wants karma@>=0.9.3
npm ERR! peerinvalid Peer karma-firefox-launcher@0.1.3 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-html2js-preprocessor@0.1.0 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-jasmine@0.1.5 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-script-launcher@0.1.0 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-requirejs@0.2.2 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-coffee-preprocessor@0.2.1 wants karma@>=0.11.14
npm ERR! peerinvalid Peer karma-phantomjs-launcher@0.1.4 wants karma@>=0.9

npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/abdullah/dev/js/sandbox/baytSecondAttempt
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.9
npm ERR! code EPEERINVALID
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/abdullah/dev/js/sandbox/baytSecondAttempt/npm-debug.log
npm ERR! not ok code 0
ghost commented 10 years ago

try doing a clean: npm clear cache

abbood commented 10 years ago

that command doesn't exist.. i tried npm cache clean but i still get the same error..

kenhkan commented 10 years ago

NPM peer dependency is a way for libraries to enforce version control for other libraries used by the consuming repo. grunt karma seems to be rather strict on its peer dependency. Updated package.json to remove cap on grunt-karma version. You should pull, remove node_modules, and try npm install again.

Let us know if it works out or not. :)

Fixed as of ee675c2d16109d791be41ae923298109ef396760