-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Missing dependency [email protected] when building with electron-builder included #4366
Comments
We faced the same issue today, but it is not especially related to the I uploaded an example project to reproduce the problem here: The repo containrs a monorepo-like project structure where we have a root You can see two dependencies: Now, when building the electron package (
Instead the node_modules folder structure should be kept as is when copying the files, such that both versions remain in the build which is necessary in this case. |
We have an app where we have dependencies to electron-builder (to build custom configured apps out of the app) and Express.
After building the app all runs fine.
After packaging the installer the app crashes cause of an unmet dependency in the packaged app:
'lookup'
is a method of the express dependency[email protected]
issuing
nmp list mime
inlinux-unpacked/resources/app
gives:The problem occurs both when building under Ubuntu 18.04 and MacOS 10.14.5
Any suggestions?
The text was updated successfully, but these errors were encountered: