Zeromq doesn't build on Electron 9
See original GitHub issuePrerequisites
- Have you checked the solutions in our troubleshooting guide for common problems ?
- Have you checked that your issue isn’t already filed ?
Description
Hydrogen fails to build on Atom with Electron 9.
Full log is included in the log section. This is a summary:
❯ apm-dev rebuild --verbose
Rebuilding modules failed
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\aminy\Documents\GitHub\JavaScript\@atom-ide-community\atom\out\Atom Dev x64\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:200:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.19042
gyp ERR! command "C:\\Users\\aminy\\Documents\\GitHub\\JavaScript\\@atom-ide-community\\atom\\out\\Atom Dev x64\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\aminy\\Documents\\GitHub\\JavaScript\\@atom-ide-community\\atom\\out\\Atom Dev x64\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\.atom\packages\Hydrogen\node_modules\zeromq
gyp ERR! node -v v12.4.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zeromq@5.2.0 install: `node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zeromq@5.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\aminy\.atom\.apm\_logs\2020-12-16T23_12_45_444Z-debug.log
Steps to Reproduce
- Build Atom in https://github.com/atom/atom/pull/21805
- Try to build Hydrogen with the included apm under
./out/Atom Dev x64/resources/app/apm/bin/apm
Versions
OS version: [Your OS’s version]
atom --version
❯ atom-dev9 --version
Atom : 1.56.0-dev-ffaba34b3
Electron: 9.3.5
Chrome : 83.0.4103.122
Node : 12.14.1
apm --version
❯ apm-dev --version
apm 2.5.2
npm 6.14.8
node 12.4.0 x64
atom 1.56.0-dev-ffaba34b3
python 3.6.8
git 2.29.2.windows.3
visual studio
Hydrogen version:
Hydrogen 2.14.6
Plugins
Have you installed and activated any of the Hydrogen plugins below ?
- hydrogen-python
- Hydrogen Launcher
- Data Explorer
Logs
Here is a full log: 2020-12-16T23_12_45_444Z-debug.log
Expected behavior
[A clear and concise description of what you expected to happen.]
Screenshots
[If applicable, add screenshots to help explain your problem.]
Additional context
[Add any other context about the problem here.]
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Developers - Zeromq doesn't build on Electron 9 - - Bountysource
Hydrogen fails to build on Atom with Electron 9. Full log is included in the log section. This is a summary: ❯ apm-dev...
Read more >How can I rebuild zeromq.js bindings for electron version 4.1.4?
I just ran into this today with Electron 6. npm rebuild zeromq doesn't help since it first downloads the binaries from their github, ......
Read more >The ZeroMQ Guide - for Python Developers
ØMQ sockets have one-to-N routing behavior built-in, according to the socket type. The zmq_send() method does not actually send the message to the...
Read more >zeromq - npm
We ship prebuilt binaries for Electron so you won't need to build zeromq from source. You can rebuild zeromq manually by running:.
Read more >1. Basics | ØMQ - The Guide
This is the science of programming: make building blocks that people can ... ZeroMQ doesn't know anything about the data you send except...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@captainsafia is registering the a patched ZeroMQ. After that one is registered, I will quickly create a PR to fix it. I will do my best to fix the issue as soon as possible, hopefully, tonight or tomorrow at the latest.
For now, you can use Atom 1.55. Fortunately, Atom doesn’t remove the previous version, and you can actually use it. Here is my Atom installation which still has 1.55.
same problem with Hydrogen 2.15.3 :c