generator-express-angular
generator-express-angular copied to clipboard
Error during installation
Attempted to install generator-express-angular using: npm install -g generator-express-angular
Got:
npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.12","npm":"1.2.32"}) npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.12","npm":"1.2.32"}) npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.12","npm":"1.2.32"}) npm WARN engine [email protected]: wanted: {"node":"0.8.x"} (current: {"node":"v0.10.12","npm":"1.2.32"}) 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.3.0 npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.2.0
npm ERR! System Darwin 11.4.2 npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "generator-express-angular" npm ERR! cwd /Users/dcesiel/code npm ERR! node -v v0.10.12 npm ERR! npm -v 1.2.32 npm ERR! code EPEERINVALID npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /Users/dcesiel/code/npm-debug.log npm ERR! not ok code 0
Try install node v0.8.9 x86
Why doesn't this generator work with the newest version of node?
I installed v0.8.9 and now get: You don't seem to have a generator with the name angular:common:/home/parallels/code/node_modules/generator-express-angular/app/index.js installed. You can see available generators with npm search yeoman-generator and then install them with npm install [name].
When I run yo express-angular
having the same problem!
I'm waiting for it support latest version of node. :)
Can you please fix this :+1:
+1
+1
+1
Any progress on this? I`m getting the error
You don't seem to have a generator with the name angular:common:/opt/boxen/nvm/v0.8.8/lib/node_modules/generator-express-angular/app/index.js installed.
Try update to latest version npm update -g generator-express-angular and try again
@Grievoushead I did that and got the same error
during install i got this WARN
npm WARN engine [email protected]: wanted: {"node":">=0.8.0","npm":">=1.2.10"} (current: {"node":"v0.8.8","npm":"1.1.59"})
does it work with node v0.8.8?
Yes I got this work on node v.0.8.8 and Win 8, If you got this error: npm ERR! peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements! Try to uninstall karma-generator - 'npm uninstall -g generator-karma' and then update 'npm update -g yo', do the same with bower and grunt if thisw doesn't help please provide me your os and full error info.
It is a bit weird because I got the error:
You don't seem to have a generator with the name angular:common:/opt/boxen/nvm/v0.8.8/lib/node_modules/generator-express-angular/app/index.js installed.
but the file /opt/boxen/nvm/v0.8.8/lib/node_modules/generator-express-angular/app/index.js exists
i will try reading yeoman docs to see if i can solve this issue
+1 You don't seem to have a generator with the name angular:common ...
I solved this by explicitly installing generator-angular in the project.
npm install generator-angular && yo express-angular
The package.json looks okay. Not sure what's going on here.
no luck: I am still getting npm ERR! peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements
@nuguja Try uninstalling generator-karma and generator-angular from the global space and then reinstalling generator-express-angular.
+1.
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
I uninstalled 'npm uninstall -g generator-karma' and 'uninstall -g generator-angular'
After that the installation is ok, but I couldn't create a project: 'yo express-angular hamsterApp' Errors: Error express-angular hamsterApp
You don't seem to have a generator with the name angular:common:/usr/local/lib/node_modules/generator-express-angular/app/index.js installed. You can see available generators with npm search yeoman-generator and then install them with npm install [name].
+1
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
the same
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
sudo npm install [email protected] -g
npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.6.0 npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.5.0
@vdesbarres try running my last command first. It seems the dependencies forgot to peg generator angular at 0.5.0 which was recently updated to 0.6.0
Thanks @pykler!, you solution saved my time.