[install-app-deps] what does it do?
See original GitHub issuehi,
I am cleaning up my project and and to change install-app-deps
to electron-builder install-app-deps
now i can’t seem to really find what it does. Does it run npm rebuild --runtime=electron ...
?
BTW if not does electron-builder has a command or such to do the npm rebuild
? (something that needs to be done after a npm install
for native modules to work.
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Dependency Management - electron-webpack
We can use electron-builder 's install-app-deps command to rebuild those modules to resolve any conflicts we might run into.
Read more >electron-builder install-app-deps tries to include react-native ...
electron-builder install-app-deps tries to include react-native while I have an alias set in webpack to react-native-electron. Save this ...
Read more >electron-builder | Best of JS
To ensure your native dependencies are always matched electron version, simply add script "postinstall": "electron-builder install-app-deps" to your ...
Read more >Managing Application Dependencies
Installing packages for your project¶ ... Pipenv will install the Requests library and create a Pipfile for you in your project's directory. The...
Read more >Adding package dependencies to your app - Apple Developer
You can't edit the content of your package dependencies directly. If you want to make changes to a package dependency, you need to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@develar sorry but that doc line does not explain it for me 😒 What does it do? And i think i am right to ask because if
install-app-deps
is supposed to do thenpm rebuild --runtime=electron ...
then it does not work here for me on windows 10Yes. But! build from sources is not forced. If some of your native dep still use node-pre-gyp instead of prebuild, you have to set option
"buildDependenciesFromSource": true
and ask author of module to use prebuild (https://github.com/EmergingTechnologyAdvisors/node-serialport/issues/1180).