SerhiiKozachenko / generator-express-angular

yeoman angular generator with express
https://npmjs.org/package/generator-express-angular
56 stars 17 forks source link

peererr when trying to install generator-angular after installing generator-angular-express #13

Closed srgrn closed 11 years ago

srgrn commented 11 years ago

I have installed the latest generator-angular-express and than a couple days later tried to install generator-angular and got the following error npm ERR! peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer generator-angular@0.4.0 wants generator-karma@~0.5.0 npm ERR! peerinvalid Peer generator-express-angular@0.2.7 wants generator-karma@~0.4.0

npm ERR! System Linux 3.10.10-1-ARCH npm ERR! command "node" "/usr/bin/npm" "install" "-g" "generator-angular" npm ERR! cwd /home/vagrant/vagrantbasebox/public/javascripts npm ERR! node -v v0.10.18 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/vagrant/vagrantbasebox/public/javascripts/npm-debug.log npm ERR! not ok code 0

nuguja commented 11 years ago

+1

dfang commented 11 years ago

+1

skrichten commented 11 years ago

+1

talltorp commented 11 years ago

+1

dfang commented 11 years ago

currently we can just open /usr/local/share/npm/lib/node_modules/generator-express-angular/package.json, change to "generator-karma": "~0.5.0" to fix it

SerhiiKozachenko commented 11 years ago

npm updated.

p16i commented 11 years ago

It seems that generator-angular has updated generator-karma's version. https://github.com/yeoman/generator-angular/blob/master/package.json#L28

So I think we need to bump it either :beer: