SerhiiKozachenko / generator-express-angular

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

NPM doesn't download newest version #10

Closed timsuchanek closed 11 years ago

timsuchanek commented 11 years ago

If I do

$ npm install -g generator-express-angular

, the newest pull request https://github.com/Grievoushead/generator-express-angular/pull/9 is not downloaded.

Maybe you have to increase the version number from 0.2.7 to something higher to make npm clear, that there is an update?

bendalton commented 11 years ago

ditto on this issue.

jewelsjacobs commented 11 years ago

Same here.

When running npm install -g generator-express-angular:

error peerinvalid The package generator-karma does not satisfy its siblings' peerDependencies requirements!
error peerinvalid Peer generator-angular@0.4.0 wants generator-karma@~0.5.0
error peerinvalid Peer generator-express-angular@0.2.7 wants generator-karma@~0.4.0
error System Darwin 12.4.0
error command "node" "/usr/local/bin/npm" "install" "-g" "generator-express-angular"
error cwd /mydir
error node -v v0.10.3
error npm -v 1.3.11
error code EPEERINVALID

I think this is because npm is not installing the latest version with your 'Bump karma 0.5.0' change to the package.json file. If you want to overwrite the package without bumping the version you can do npm publish --force

https://npmjs.org/doc/publish.html

This stackoverflow answer has some good info on publishing minor changes:

SerhiiKozachenko commented 11 years ago

npm updated.