JustinTulloss / zeromq.node

Node.js bindings to the zeromq library
MIT License
1.65k stars 286 forks source link

node 10 install issue #603

Open awb99 opened 6 years ago

awb99 commented 6 years ago

I am running Manjaro/Arch Linux:

community/zeromq 4.2.2-2 [installed]  Fast messaging system built on sockets. C and C++ bindings. aka 0MQ, ZMQ.
community/node-gyp 3.6.2-1 [installed]
    Node.js native addon build tool
community/nodejs 10.4.0-1 [installed]
    Evented I/O for V8 javascript

Now I just tried to install the npm package zmq, but it failed.

gyp ERR! node -v v10.4.0
gyp ERR! node-gyp -v v3.6.2
npm ERR! zmq@2.15.3 install: `node-gyp rebuild`
136 verbose stack Exit status 1
136 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16)
136 verbose stack     at EventEmitter.emit (events.js:182:13)
136 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
136 verbose stack     at ChildProcess.emit (events.js:182:13)
136 verbose stack     at maybeClose (internal/child_process.js:961:16)
136 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)

I think it is due to the new version 10 of node. On my computer that runs an older version all is fine.

jimmycarlinco commented 5 years ago

Also encountering the same problem, any fix on horizon?

7c commented 4 years ago

Same problem with node 10.16.3. It is still working fine on 8.x