Closed ClemHlrdt closed 6 years ago
this seems to be an error with zmq. I fixed it by switching to zeromq https://github.com/zeromq/zeromq.js
Thanks,, thant fixed it for me too!
Installing via
npm install zerorpc
still delivers the old version, had to install by
npm install git+https://github.com/0rpc/zerorpc-node.git
.
Could someone please bump the version and npm publish? That would have saved me a bunch of headache from a solved issue. Thanks!
https://www.npmjs.com/package/zerorpc updated to version 0.9.8
Still getting the same error with version 0.9.8 os: mac 10.13.6 node v10.11.0 npm 6.4.1
similar error to Failed at the zmq@2.15.1 install script 'node-gyp rebuild' · Issue #525 · JustinTulloss/zeromq.node, and for my macOS
, final solution is :
Downgrade node version from v13.5.0 to v8.17.0
Note: seems, node version above 10.0 will error, and below 8.x can avoid this error.
I have been trying to install the package with node V10.0.0 on my Mac but I have this issue.
Node version: 10.0.0 NPM version: 5.6.0
`msgpack@1.0.2 install /Users/clement/Desktop/nodeserver/node_modules/msgpack
CC(target) Release/obj.target/libmsgpack/deps/msgpack/objectc.o CC(target) Release/obj.target/libmsgpack/deps/msgpack/unpack.o CC(target) Release/obj.target/libmsgpack/deps/msgpack/vrefbuffer.o CC(target) Release/obj.target/libmsgpack/deps/msgpack/zone.o CC(target) Release/obj.target/libmsgpack/deps/msgpack/version.o LIBTOOL-STATIC Release/msgpack.a CXX(target) Release/obj.target/msgpackBinding/src/msgpack.o SOLINK_MODULE(target) Release/msgpackBinding.node
CXX(target) Release/obj.target/zmq/binding.o In file included from ../binding.cc:29: /usr/local/Cellar/zeromq/4.2.5/include/zmq_utils.h:42:32: warning: unknown warning group '-Werror', ignored [-Wunknown-warning-option]
pragma GCC diagnostic ignored "-Werror"
/usr/local/Cellar/zeromq/4.2.5/include/zmq_utils.h:45:9: warning: Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h. [-W#pragma-messages]
pragma message( \
In file included from ../binding.cc:38: In file included from ../node_modules/nan/nan.h:190: ../node_modules/nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet' in 'v8::Object' return obj->ForceSet(GetCurrentContext(), key, value, attribs);