Open dawadam opened 9 months ago
You did not provide any details of your error. But I think I get the same node-gyp error:
~/.cache/node-gyp/21.4.0/include/node/v8-local-handle.h:253:42: error: static assertion failed: type check
253 | static_assert(std::is_base_of<T, S>::value, "type check");
| ^~~~~
~/.cache/node-gyp/21.4.0/include/node/v8-local-handle.h:253:42: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
make: *** [zmq.target.mk:113: Release/obj.target/zmq/binding.o] Error 1
make: Leaving directory '~/majordomo/node_modules/zeromq/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
The error above is for v5.3.1
, and it goes away with the latest version, that is if I specify "zeromq": ">= 6.0.0-beta.19"
in "dependencies"
.
Version 6 is a beta version, it's good for me. But I use another library which uses the production version which is version 5.
Describe the bug It's a bug that seems to be known; I saw that builds have been made for other versions of Electron. This is version 28. I need it with version 5.3.1 of zeromq. The build is not done correctly with node-gyp. Error:
make
failed with exit code: 2Reproducing Just install last Eletron, using electronforge and add zmq 5.
Expected behavior zmq must rebuild
Tested on