You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fairly new to everything Node. Trying to build an Electron app on OSX 10.12. I've used homebrew to install zeromq. My app requires zerorpc and zmq. I set these env vars
@jhargis You are not using this module.
You have zmq installed which doesn't provide prebuild statically linked binaries. So you can't package your app with this module.
Please install zeromq (this module) with npm i zeromq --save and require it instead. You don't need to install external dependencies via homebrew.
ugh. I somehow was confused and thought they were the same package just aliased. Could have swore I tried all combinations including just zeromq and not zmq. At any rate, thank you.
The confusion I had was that I need the zerorpc package which requires zmq. The example I was working from mapped the dep for zerorpc to a forked version that substitutes zmq and msgpack with zeromq and msgpack-lite.
I'm fairly new to everything Node. Trying to build an Electron app on OSX 10.12. I've used homebrew to install zeromq. My app requires zerorpc and zmq. I set these env vars
Then package.
It works fine on the local dev machine but when copied to another machine it fails because the dylib for zeromq is not found.
I'm not really clear on what I need to do to get that file inside the packaged app. Perhaps I'm doing something wrong or missed a step.
The text was updated successfully, but these errors were encountered: