ERR! peerinvalid The package generator-karma does not satisfy its siblings
Hi, sorry to bother you but i've got problems to install your module. When I run:
npm install -g generator-angular-ui-router
I've got
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 Linux 3.5.0-17-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "-g" "generator-angular-ui-router" npm ERR! cwd /home/whisher npm ERR! node -v v0.10.24 npm ERR! npm -v 1.3.21 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/whisher/npm-debug.log npm ERR! not ok code 0
BTW I've got problems to integrate ui-router with yeoman please if you have time take a look to
Same issue:
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No repository field.
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 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "generator-angular-ui-router"
npm ERR! cwd /Users/User/Project/5_20
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! /Users/User/npm-debug.log
npm ERR! not ok code 0```
Imho as workaround you can check it out localy. (without -g option)
Perhaps, temporarily we could use
npm install -g git+ssh://[email protected]:iamblue/generator-angular-ui-router.git
I solved this by uninstalling the original generator-angular and generator-karma.
npm uninstall -g generator-angular && npm uninstall -g generator-karma (or just combine I assume)
then reinstalling the generator
npm install -g generator-angular-ui-router
dependencies :-1:
the issue is that this module wants generator-karma@~0.5.0 while the original module wants @>=8.2... maybe update this so it works with the newer karma generator?
update: looked further at this repo... last commit was in january so i'm not sure if it's being maintained and kept up-to-date with the original generator...
Definitely hasn't, if I ever use this generator I have to do manual updates. Maybe I'll submit a PR...
Submitted
https://github.com/iamblue/generator-angular-ui-router/pull/16
Main question is if anything breaks, haha, that's why i didn't want to do a PR... I'd have to test all the scenarios :P
Those are changes I always make after using this, I guess that counts.
