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?
sudo npm update -g generator-karma
correct? You may also try looking at/node_modules/generator-karma/package.json
, and view the version to see if it's above equal or above 0.6.0. – Thermostatgenerator-angular-ui-router
, which seems to use older version ofgenerator-karma
. Kind of annoying there is no better way. – Thereof