generator-karma does not satisfy its siblings' peerDependencies requirements

Dmitri Zaitsev picture Dmitri Zaitsev · Jan 15, 2014 · Viewed 15.8k times · Source

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?

Answer

tmaximini picture tmaximini · Feb 18, 2014

Try running npm uninstall -g generator-karma