JustinTulloss / zeromq.node

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

zmq.socket is not a function #610

Open shrsulav opened 4 years ago

shrsulav commented 4 years ago

I installed zeromq in Raspberry Pi. And when I run the nodejs example for zeromq it gives error as: TypeError: zmq.socket is not a function.

matkoklaic commented 4 years ago

Same on my side. OSX Node v10.15.0 zeromq@5

noahpodgurski commented 4 years ago

I am also having this issue, have either of you found a solution? Running on Windows 10

tfmeneses commented 4 years ago

I fixed this problem using the 5 version

npm i zeromq@5

istabraq-iot commented 4 years ago

I have the same issue

kitattyor commented 4 years ago

Same issue for me. On Windows10 + electron 8.0.0

Have rebuilt using npm rebuild zeromq --runtime=electron --target=8.0.0

ZeroMQ version 6.0.0-beta.6

Didn't work.