zeromq.node
zeromq.node copied to clipboard
Could not locate the bindings file
I am getting the following error
C:\electron-boilerplate\build\node_modules\bindings\bindings.js:91 Uncaught Error: Could not locate the bindings file. Tried:
→ C:\electron-boilerplate\build\node_modules\zmq\build\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\build\Debug\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\build\Release\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\out\Debug\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\Debug\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\out\Release\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\Release\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\build\default\zmq.node
→ C:\electron-boilerplate\build\node_modules\zmq\compiled\6.1.0\win32\x64\zmq.node
I have tried reinstalling, building, etc. many many times. The weird thing is that the file actually does exist at the one of the paths it is searching. Any ideas?
Same error here.
- Windows 7 (x64)
- ZMQ 4.04 (x64)
- Electron 1.3.2 (x64) + Node.js 6.3.0 (x64)
Also tried Electron 1.4.1 (x64) + Node.js 6.6.0 (x64)
I had the same issue, I installed the package with npm install --save zmq
and after that echo 'require("zmq")' | node
resulted in the error above.
The following fixed it for me:
cd node_modules/zmq/; node-gyp configure
I think there could be something wrong with this package. Possibly related to #534.
My system runs archlinux and I just noticed I also have the following value in my npmrc, as this was suggested as a security workaround a while ago.
ignore-scripts=true
In my case, loading into ElectronJS (https://github.com/electron/electron) is not successful. I guess this is because Electron uses a self built node.dll
. I need to build Electron and ZMQ using the same Node binary. I'm still on the investigation. Here is a potential solution (https://github.com/nteract/zmq-prebuilt/issues/2) ongoing.
Does this problem have a solution?
The issue was fixed in https://github.com/zeromq/zeromq.js