Open whisher opened 10 years ago
Same issue:
npm WARN package.json wepay@0.0.3 No repository field.
npm WARN package.json jshint@0.7.3 No repository field.
npm WARN package.json less@1.3.0 No repository field.
npm WARN package.json recess@1.1.4 No repository field.
npm ERR! peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer generator-angular@0.8.0 wants generator-karma@>=0.6.0
npm ERR! peerinvalid Peer generator-angular-ui-router@0.5.3 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://git@github.com: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...
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.
Hi, sorry to bother you but i've got problems to install your module. When I run:
I've got
BTW I've got problems to integrate ui-router with yeoman please if you have time take a look to
http://stackoverflow.com/questions/23466575/yeoman-grunt-error-injectormodulerr-failed-to-instantiate-module-ui-router