question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[install-app-deps] what does it do?

See original GitHub issue

hi,

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:closed
  • Created 6 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

8reactions
farfromrefugcommented, Aug 7, 2017

@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 the npm rebuild --runtime=electron ... then it does not work here for me on windows 10

4reactions
develarcommented, Aug 7, 2017

Does it run npm rebuild --runtime=electron … ?

Yes. 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).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found