Closed yangshun closed 10 years ago
Well, got same issue today on OS X 10.9.2, node 0.10.26, npm 1.4.3
I was getting a similar problem on mint, the problem was the compiler (GCC). It was fixed by installing:
sudo apt-get build-essentials
Check if you have what's needed for your OS
same here
9874 verbose lock optimist@0.3.7 /home/tadeu/.npm/090e1d8d-optimist-0-3-7.lock
9875 info hiredis@0.1.16 Failed to exec install script
9876 info /home/tadeu/projects/onsite-server/node_modules/hiredis unbuild
9877 info preuninstall hiredis@0.1.16
9878 verbose unsafe-perm in lifecycle true
9879 info uninstall hiredis@0.1.16
9880 verbose true,/home/tadeu/projects/onsite-server/node_modules,/home/tadeu/projects/onsite-server/node_modules unbuild hiredis@0.1.16
9881 info postuninstall hiredis@0.1.16
9882 error hiredis@0.1.16 install: node-gyp rebuild
9882 error Exit status 1
9883 error Failed at the hiredis@0.1.16 install script.
9883 error This is most likely a problem with the hiredis package,
9883 error not with npm itself.
9883 error Tell the author that this fails on your system:
9883 error node-gyp rebuild
9883 error You can get their info via:
9883 error npm owner ls hiredis
9883 error There is likely additional logging output above.
9884 error System Linux 3.11.0-18-generic
9885 error command "node" "/usr/local/bin/npm" "install"
9886 error cwd /home/tadeu/projects/onsite-server
9887 error node -v v0.10.26
9888 error npm -v 1.4.4
9889 error code ELIFECYCLE
9890 verbose exit [ 1, true ]
Please see issue #31. It looks like you're using GNU libtool on OSX, which is not expected.