yo: Can't install 1.8.2

When I try npm i -g yo : node v4.4.4 (also try with 4.3.1) npm v3.9.0

deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm ERR! Darwin 15.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "yo@1.8.2"
npm ERR! node v4.4.4
npm ERR! npm  v3.9.0
npm ERR! path /usr/local/lib/node_modules/yo/lib/cli.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/yo/lib/cli.js'
npm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/yo/lib/cli.js'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/jaumard/Downloads/testTrails/npm-debug.log

If I install npm i -g yo@1.8.1 all is working

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 31
  • Comments: 28 (2 by maintainers)

Commits related to this issue

Most upvoted comments

Fixed

npm -g install yo@1.8.3

Not sure what happened, looks like npm published a corrupted package.

Same issue here! I installed the previous version of yo - 1.8.1 as a temporary work around. npm install -g yo@1.8.1

Same here on Windows with node 6.2.0 and npm 3.9.2