Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

npm: Failed at the hiredis@0.1.17 install script 'node-gyp rebuild' #94

Closed
kristianmandrup opened this issue Jul 13, 2015 · 5 comments
Closed

Comments

@kristianmandrup
Copy link

Please resolve this issue. Thanks :)

gyp ERR! node -v v2.3.4
gyp ERR! node-gyp -v v2.0.1
gyp ERR! not ok 
npm ERR! Darwin 14.4.0
npm ERR! argv "/usr/local/bin/iojs" "/Users/kristianmandrup/npm/bin/npm" "install"
npm ERR! node v2.3.4
npm ERR! npm  v2.13.0
npm ERR! code ELIFECYCLE

npm ERR! hiredis@0.1.17 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the hiredis@0.1.17 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the hiredis 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 hiredis
npm ERR! There is likely additional logging output above.
@kristianmandrup
Copy link
Author

Tried to force dependency to 0.4.0 as per recommendation in #83

  "dependencies": {
    "bluebird": "^2.9.33",
    "mocha": "^2.2.5",
    "hiredis": "^0.4.0"
  }

Same error:

npm ERR! node v2.3.4
npm ERR! npm  v2.13.0
npm ERR! code ELIFECYCLE

npm ERR! hiredis@0.4.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the hiredis@0.4.0 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the hiredis package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild

@badboy
Copy link
Contributor

badboy commented Jul 13, 2015

Can you please give the output of npm install --loglevel=verbose hiredis?

@msifd
Copy link

msifd commented Jul 18, 2015

3.x.x python is not supported by node-gyp.

@Dindaleon
Copy link

Has this been solved? I cannot install hiredis either.

@badboy
Copy link
Contributor

badboy commented Jul 27, 2015

  1. Use the latest hiredis-node release
  2. Make sure you have Python 2
  3. Make sure you're node-gyp is not broken.

Then it should work. If not, please report back with a verbose log output.

@badboy badboy closed this as completed Aug 21, 2015
mrdefenestrator pushed a commit to mrdefenestrator/pushd that referenced this issue Feb 19, 2016
Hiredis frequently fails to install for me when running npm install.  I updated the hiredis package to the newest release to fix the issue as per:

redis/hiredis-node#94
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants