node-libcurl not being installed on node 4.x and mac os x
See original GitHub issueSeems like there’s not possible to compile old versions of bufferutil@1.1.0 and utf-8-validate@1.1.0. In node 5, only versions @1.2.1 are working. Here is the output log:
$ npm install node-libcurl@0.8.0 --save --save-exact npm WARN prefer global coffee-script@1.10.0 should be installed with -g
bufferutil@1.1.0 install /Users/aberope/robots/kobol/node_modules/slack-cli/node_modules/bufferutil node-gyp rebuild
CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
In file included from …/src/bufferutil.cc:16:
…/…/nan/nan.h:261:25: error: redefinition of ‘_NanEnsureLocal’
[…]
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js💯13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Darwin 15.4.0
gyp ERR! command “/usr/local/Cellar/node/5.8.0/bin/node” “/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js” “rebuild”
gyp ERR! cwd /Users/aberope/robots/kobol/node_modules/slack-cli/node_modules/bufferutil
gyp ERR! node -v v5.8.0
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:bufferutil@1.1.0 bufferutil@1.1.0 install: node-gyp rebuild
npm WARN install:bufferutil@1.1.0 Exit status 1
[…]
npm WARN install:utf-8-validate@1.1.0 utf-8-validate@1.1.0 install: node-gyp rebuild
npm WARN install:utf-8-validate@1.1.0 Exit status 1
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Probably something strange with npm. Try cleaning the cache and updating npm.
Closing as it’s not related to this project.
It’s working, thanks!