-
-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Native node (ZeroMQ) module problems with webpack template #1424
Comments
I've come across this same issue. I've tried rebuilding zmq with:
and
but still have the same issue with |
I was able to work around this by specifying 5.1.1 of the |
I had similar problems with leveldown. I think it's related to: #703 I still have this problem with Replacing and replacing in
with
But now I have problem with renderer:
It looks like problem with |
Issue Details
Electron Forge Version: 6.0.0-beta.47
Electron Version: v7.1.9
Operating System: macOS 10.14.6
Last Known Working Electron Forge version: Unknown
Expected Behavior
App should start without error.
Actual Behavior
Attempting to use zeroMQ (https://github.com/zeromq/zeromq.js/) with electron-forge webpack template.
App fails to start reporting:
Error: No native build was found for platform=darwin arch=x64 runtime=electron abi=75 uv=1 libc=glibc
To Reproduce
(1) Instantiate new electron app with webpack template
yarn create electron-app my-new-app --template=webpack
(2) Install zeroMQ
yarn add zeromq
(3) Import zeroMQ in main.js
const zmq = require('zeromq')
(4) Start app
yarn start
Additional Information
If the same steps are followed as above but without
--template=webpack
, no issues are encountered. As such, problem appears to be with the webpack template.The text was updated successfully, but these errors were encountered: