-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Git submodule package.json dependencies #1539
Comments
How do you install sub node modules? Using Lerna or manually? |
Am I right — you somehow compile your project, and expect, that electron-builder will copy all node_modules directories plus your packages files? |
As workaround, please try to specify |
The installation of dependencies is done with postinstall step: "scripts": {
"postinstall": "npm install submodule_1 && npm install submodule_2",
}, The workaround is not very good, because it would be easier just to copy all dependencies from submodules to main package.json. |
Will be implemented. |
+1 same here My situation: My problem: |
Fixed, but only if you use default and recommended enabled ASAR packaging. By default asar is enabled, no need to configure anything explicitly. Will be released as electron-builder 19.0.0 |
@bradydowling My comment is not relevant anymore. Please file a new issue (thanks for project) to be not forgotten |
In our project we have multiple git submodules, which have their own package.json definition.
The main package.json has definition like this:
The file structure of the project is something like this:
So on npm install we have a all necessary modules downloaded.
The problem is that electron does not package the submodule dependencies to the final installer.
Is there a way to build the electron app with the dependencies from nested git submodules?
The text was updated successfully, but these errors were encountered: