Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install failed on Linux message #82

Open
EskenderTamrat opened this issue Nov 13, 2015 · 3 comments
Open

Install failed on Linux message #82

EskenderTamrat opened this issue Nov 13, 2015 · 3 comments

Comments

@EskenderTamrat
Copy link

I consistently get the following error message when I tried to install the package with 'node install --save time'. I tried older versions as well.

 gyp WARN install got an error, rolling back install
 gyp ERR! configure error 
 gyp ERR! stack Error: node-v0.12.7.tar.gz local checksum 173df27d2011f06cdacd097053e11eab075ceb21ec8f2e697d8dceb80e0330e7 not match remote b23d64df051c9c969b0c583f802d5d71de342e53067127a5061415be7e12f39d
 gyp ERR! stack     at deref (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:307:20)
 gyp ERR! stack     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:348:13)


 gyp ERR! stack     at IncomingMessage.emit (events.js:129:20)
 gyp ERR! stack     at _stream_readable.js:908:16
 gyp ERR! stack     at process._tickCallback (node.js:355:11)
 gyp ERR! System Linux 2.6.32-573.3.1.el6.x86_64
 gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
 gyp ERR! cwd /node_modules/time
 gyp ERR! node -v v0.12.7
 gyp ERR! node-gyp -v v2.0.2
 gyp ERR! not ok 
 npm ERR! Linux 2.6.32-573.3.1.el6.x86_64
 npm ERR! argv "node" "/usr/local/bin/npm" "install" "--save" "time"
 npm ERR! node v0.12.7
 npm ERR! npm  v2.13.3
 npm ERR! code ELIFECYCLE

 npm ERR! [email protected] install: `node-gyp rebuild`
 npm ERR! Exit status 1
 npm ERR! 
 npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
 npm ERR! This is most likely a problem with the time 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 time
 npm ERR! There is likely additional logging output above.

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

Thanks.

@benag
Copy link

benag commented Jan 31, 2016

Did you solve this one? I have this too

@game4cesc
Copy link

I don't remember every details (SORRY), but deleting the previously installed packages (by removing the directory containing such files) solved this for me.

@hijklmno
Copy link

hijklmno commented May 8, 2016

@benag i was able to solve the installation issue on a AWS EC2 instance by running yum install gcc-c++ make before node install --save time

please see my PR #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants