zmq doesn't build from package.json
I have installed zeromq and zeromq-devel on my CentOS7.
The package.json of my project contains zmq for version 2.15.2.
When adding this to docker, I run the npm install through this line of command:
npm config set registry http://registry.npmjs.org/ && npm set progress=false && npm install --no-optional --ignore-scripts
I get this error:
"uncaughtException: Could not locate the bindings file. Tried:\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/build/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/build/Debug/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/build/Release/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/out/Debug/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/Debug/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/out/Release/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/Release/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/build/default/zmq.node\n →/home/swateek/Documents/sampleApp/webapp/node_modules/zmq/compiled/4.2.0/linux/x64/zmq.node"
I have the same problem with Electron on Windows
Still doesn't.. a work around is to go inside the node_modules and find dolfer zmq.
execute "make" command there.
Please switch to zeromq. We no longer maintain the zmq version.