Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

generator-karma does not satisfy its siblings' peerDependencies requirements

The same notorious error

 npm ERR! peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.6.0 npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.5.0  npm ERR! System Darwin 12.5.0 npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "generator-angular" npm ERR! cwd /Users/dmitrizaitsev/Dropbox/Priv/APP/my-yo-project npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code EPEERINVALID 

comes from installation various packages, e.g. for

npm update -g yo 

The only found advice to uninstall generator-karma does not help - it re-installs back.

Any better explanation of why it happens and working solution?

like image 550
Dmitri Zaitsev Avatar asked Jan 15 '14 15:01

Dmitri Zaitsev


1 Answers

Try running npm uninstall -g generator-karma

like image 73
tmaximini Avatar answered Sep 27 '22 20:09

tmaximini