generator-express-angular icon indicating copy to clipboard operation
generator-express-angular copied to clipboard

Error during installation

Open dcesiel opened this issue 12 years ago • 24 comments

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

dcesiel avatar Jun 30 '13 18:06 dcesiel

Try install node v0.8.9 x86

SerhiiKozachenko avatar Jul 04 '13 21:07 SerhiiKozachenko

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

dcesiel avatar Jul 04 '13 23:07 dcesiel

having the same problem!

littleStudent avatar Jul 14 '13 09:07 littleStudent

I'm waiting for it support latest version of node. :)

esanai avatar Jul 16 '13 05:07 esanai

Can you please fix this :+1:

andrewzielinski avatar Jul 23 '13 23:07 andrewzielinski

+1

biegl avatar Jul 24 '13 12:07 biegl

+1

ab-su-rd avatar Jul 24 '13 13:07 ab-su-rd

+1

glenc avatar Jul 26 '13 06:07 glenc

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.

jonhkr avatar Jul 29 '13 14:07 jonhkr

Try update to latest version npm update -g generator-express-angular and try again

SerhiiKozachenko avatar Jul 30 '13 21:07 SerhiiKozachenko

@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?

jonhkr avatar Jul 31 '13 11:07 jonhkr

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.

SerhiiKozachenko avatar Jul 31 '13 12:07 SerhiiKozachenko

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

jonhkr avatar Jul 31 '13 13:07 jonhkr

+1 You don't seem to have a generator with the name angular:common ...

Rayjax avatar Aug 02 '13 14:08 Rayjax

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.

ryannorris avatar Sep 15 '13 14:09 ryannorris

no luck: I am still getting npm ERR! peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements

nuguja avatar Oct 06 '13 15:10 nuguja

@nuguja Try uninstalling generator-karma and generator-angular from the global space and then reinstalling generator-express-angular.

TookTheRedBean avatar Oct 28 '13 21:10 TookTheRedBean

+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].

alfirin avatar Oct 31 '13 18:10 alfirin

+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

winkerVSbecks avatar Nov 06 '13 01:11 winkerVSbecks

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

casualuser avatar Nov 07 '13 16:11 casualuser

sudo npm install [email protected] -g

pykler avatar Nov 11 '13 18:11 pykler

npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.6.0 npm ERR! peerinvalid Peer [email protected] wants generator-karma@~0.5.0

vincivince avatar Nov 12 '13 12:11 vincivince

@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

pykler avatar Nov 13 '13 04:11 pykler

Thanks @pykler!, you solution saved my time.

ryanelee avatar Aug 08 '15 03:08 ryanelee