-
Notifications
You must be signed in to change notification settings - Fork 232
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
zerorpc is not included while packaging #22
Comments
@asakiasako my use case is similar as I used electron-react-boilerplate. In their docs, they mentioned something about some modules uses native code, i.e. C/C++, and those modules would be handled somewhat differently. zerorpc is the only one in this context. |
I managed to fix this by replacing the git url with the node version:
@fyears Is there any reason to use your custom version of zerorpc. The app seems to be fully functional with zerorpc 0.9.7. |
@meowlz My conf just want to use the optimized versions of msgpack and zeromq that don't need c++ compilers for installing, nothing else. It's quite strange that it doesn't work with other latest libraries. :-( Thank you for your sharing. |
After changing the dependencies as @meowlz suggested I also needed to use electron-rebuild via |
What's happened to This breaks your own https://github.com/fyears/electron-python-example, a few of my own projects plus anybody else replying on this repo. Seemed to be there yesterday... |
Same issue as @abulka |
@bvhpatel Turns out you can use the official zerorpc repo instead, but make sure you are using electron 3, not higher. See my article. |
Thank you, @abulka! Would you know if there is any "loss" (in performance, functionalities, or else) by using electron 3 rather than 7? |
A late update on Dec 31, 2019: I am so sorry about the issues, @abulka @bvhpatel . Please allow me to explain what happened.
|
I built my app just following the instruction. Thanks for the great work. It's really helpful.
It works pretty well before I package the electron app, but when I finally package it, error comes (zerorpc module can not find).
The resources/app/node_modules directory has all other modules except those imported by zerorpc. I don't know why it comes, but I guess the key point is it's imported by git link.
Can you give me any suggestions? Thanks.
The text was updated successfully, but these errors were encountered: