Lior Chaga
Lior Chaga

Reputation: 1480

Using yeoman generator-angularjs-library

Trying to use angularjs-library generator. I get the following error:

npm ERR! peerinvalid The package karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants karma@~0.9
npm ERR! peerinvalid Peer [email protected] wants karma@~0.9.3
npm ERR! peerinvalid Peer [email protected] wants karma@>=0.9
npm ERR! peerinvalid Peer [email protected] wants karma@>=0.9
npm ERR! peerinvalid Peer [email protected] wants karma@>=0.9
npm ERR! peerinvalid Peer [email protected] wants karma@>=0.9
npm ERR! peerinvalid Peer [email protected] wants karma@>=0.11.14
npm ERR! peerinvalid Peer [email protected] wants karma@>=0.9

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd C:\InteliJ\BYGA\testlib
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code EPEERINVALID
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\InteliJ\BYGA\testlib\npm-debug.log
npm ERR! not ok code 0

How can I fix it?

Thanks.

Upvotes: 0

Views: 258

Answers (1)

Lior Chaga
Lior Chaga

Reputation: 1480

I think I got it -

npm rm karma-coffee-preprocessor

It was the only module that required karma version ~0.11

Upvotes: 1

Related Questions