walmartlabs / generator-thorax

Thorax yeoman generator
MIT License
87 stars 27 forks source link

npm install karma issues #138

Closed adam-stokes closed 10 years ago

adam-stokes commented 10 years ago

Running:

npm install -g yo generator-thorax
yo thorax app

yields this error

npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
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-mocha@0.1.4 wants karma@>=0.12.8
npm ERR! peerinvalid Peer karma-phantomjs-launcher@0.1.4 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-requirejs@0.2.2 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-safari-launcher@0.1.1 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-script-launcher@0.1.0 wants karma@>=0.9
npm ERR! peerinvalid Peer grunt-karma@0.6.2 wants karma@~0.10.0
npm ERR! peerinvalid Peer karma-coffee-preprocessor@0.1.3 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-coverage@0.1.5 wants karma@>=0.9

npm ERR! System Linux 3.13.0-29-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "karma"
npm ERR! cwd /home/adam/Projects/bushhog
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! code EPEERINVALID
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/adam/Projects/bushhog/npm-debug.log
npm ERR! not ok code 0

I tried to force install karma within the project directory to see what would happen and same error above occurs.

This is the version of karma installed within the project directory

 "version": "0.12.16",

Running this on Ubuntu Trusty 14.04 with node version 0.10.25 and npm version 1.3.10. Curious if I'm missing anything else here?

adam-stokes commented 10 years ago

Heres a pastebin of the npm-debug.log

http://paste.ubuntu.com/7701859/

dguzzo commented 10 years ago

this is my first time attempting to use generator-thorax i'm experiencing the same issue as @battlemidget.

my output:

npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer karma-mocha@0.1.4 wants karma@>=0.12.8
npm ERR! peerinvalid Peer grunt-karma@0.6.2 wants karma@~0.10.0
npm ERR! peerinvalid Peer karma-coverage@0.1.5 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-safari-launcher@0.1.1 wants karma@>=0.9
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-phantomjs-launcher@0.1.4 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-requirejs@0.2.2 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-script-launcher@0.1.0 wants karma@>=0.9
npm ERR! peerinvalid Peer karma-coffee-preprocessor@0.1.3 wants karma@>=0.9

npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install"
npm ERR! cwd /Users/dominick/Code/instagram-thorax
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.13
npm ERR! code EPEERINVALID
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/dominick/Code/instagram-thorax/npm-debug.log
npm ERR! not ok code 0

npm version: 1.4.13 node version: 0.10.28

adam-stokes commented 10 years ago

any word on this issue?

adam-stokes commented 10 years ago

ping?

eriktrom commented 10 years ago

Sup guys. Will take a look. Thanks for the ping.

adam-stokes commented 10 years ago

Thanks @trombom let me know if you need me to provide you any additional information or tests