shipshapecode / ember-cli-release

Ember CLI addon for versioned release management
MIT License
90 stars 18 forks source link

Getting weird error when npm installing #46

Closed devinus closed 8 years ago

devinus commented 8 years ago
npm WARN EBUNDLEOVERRIDE Replacing bundled ember-cli-release > npm > init-package-json with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled ember-cli-release > npm > node-gyp with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled ember-cli-release > npm > npm-install-checks with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled ember-cli-release > npm > npmlog with new installed version
npm WARN EBUNDLEOVERRIDE Replacing bundled ember-cli-release > npm > read-package-json with new installed version
npm ERR! Darwin 15.2.0
npm ERR! argv "/Users/devinus/.anyenv/envs/ndenv/versions/v5.4.0/bin/node" "/Users/devinus/.anyenv/envs/ndenv/versions/v5.4.0/bin/npm" "install"
npm ERR! node v5.4.0
npm ERR! npm  v3.3.12
npm ERR! path /Users/devinus/Projects/rebelmail-dashboard/node_modules/ember-cli-release/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/devinus/Projects/rebelmail-dashboard/node_modules/ember-cli-release/node_modules/npm/node_modules/node-gyp/bin/node-gyp.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/devinus/Projects/rebelmail-dashboard/npm-debug.log

This happens when running npm install. When I remove ember-cli-release from my package.json the issue goes away. Any insights at all would be much appreciated. I'm stumped.

rwjblue commented 8 years ago

rm -rf node_modules && npm install :)

devinus commented 8 years ago

@rwjblue Believe me, I tried. :(

rwjblue commented 8 years ago

What npm version do you have on your system?

devinus commented 8 years ago

@rwjblue

{ 'rebelmail-dashboard': '0.3.0',
  npm: '3.3.12',
  ares: '1.10.1-DEV',
  http_parser: '2.6.0',
  icu: '56.1',
  modules: '47',
  node: '5.4.0',
  openssl: '1.0.2e',
  uv: '1.8.0',
  v8: '4.6.85.31',
  zlib: '1.2.8' }
rwjblue commented 8 years ago

3.3.10-12 is bad, update to latest stable 3.x:

npm install -g npm@^3

devinus commented 8 years ago

@rwjblue Not denying it, but the npm version packaged with the latest node is bad? o.O

rwjblue commented 8 years ago

Confirm. This is why node 5 is listed as allowed failures by ember-cli. Stef opened an issue in npm/npm, and they confirmed + fixed in 3.4.1.

devinus commented 8 years ago

@rwjblue Thanks dude, you might have saved my entire day. Confirming...

devinus commented 8 years ago

Confirmed. What the hell...