hughsk / atom-npm-install

Automatically install and save any missing npm modules being used in the current file
http://atom.io/packages/npm-install
MIT License
80 stars 7 forks source link

gyp WARN install got an error #18

Closed davideghz closed 8 years ago

davideghz commented 8 years ago

davide@davidell:~/Desktop/app/atom/atom$ npm install

oniguruma@5.1.2 install /home/davide/Desktop/app/atom/atom/node_modules/oniguruma node-gyp rebuild

gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: 403 response downloading https://atom.io/download/atom-shell/v5.4.1/node-v5.4.1-headers.tar.gz gyp ERR! stack at Request. (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:244:14) gyp ERR! stack at emitOne (events.js:82:20) gyp ERR! stack at Request.emit (events.js:169:7) gyp ERR! stack at Request.onRequestResponse (/usr/lib/node_modules/npm/node_modules/request/request.js:998:10) gyp ERR! stack at emitOne (events.js:77:13) gyp ERR! stack at ClientRequest.emit (events.js:169:7) gyp ERR! stack at HTTPParser.parserOnIncomingClient (_http_client.js:425:21) gyp ERR! stack at HTTPParser.parserOnHeadersComplete (_http_common.js:88:23) gyp ERR! stack at Socket.socketOnData (_http_client.js:315:20) gyp ERR! stack at emitOne (events.js:77:13) gyp ERR! System Linux 4.2.0-23-generic gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/davide/Desktop/app/atom/atom/node_modules/oniguruma gyp ERR! node -v v5.4.1 gyp ERR! node-gyp -v v3.0.3 gyp ERR! not ok npm ERR! Linux 4.2.0-23-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v5.4.1 npm ERR! npm v3.3.12 npm ERR! code ELIFECYCLE

npm ERR! oniguruma@5.1.2 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the oniguruma@5.1.2 install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the oniguruma package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get their info via: npm ERR! npm owner ls oniguruma npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /home/davide/Desktop/app/atom/atom/npm-debug.log

davideghz commented 8 years ago

solved removing GYP --> apt-get remove gyp

this thread helped me out: https://github.com/nodejs/node-gyp/issues/363#issuecomment-32234646