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.

Is there a way to exclude certain modules? There is onlyModules to do the opposite, but it’s not very practical if you need to exclude a module to always have to keep onlyModuels up to date.

Also, is there a way to get electron-rebuild to list all the modules it’s building? If I want to add all my current modules in onlyModules except one, I have no idea right now what modules it’s actually building.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
aguynamedbencommented, Apr 29, 2021

Here’s the command we have to use

$ electron-rebuild --only @adeperio/forcefocus,@hypersprite/vscode-windows-registry,@nodert-win10-rs4/windows.foundation,@nodert-win10-rs4/windows.system,@sentry/electron,@slack/web-api,evernote,extract-file-icon,jsforce,keyboard-layout,keytar,node-abi,node-fetch,plist,sequelize
✔ Rebuild Complete
✨  Done in 9.71s.

What would be nice

$ electron-rebuild --exclude sqlite
1reaction
Christilutcommented, Jan 13, 2021

I’m using @journeyapps/sqlcipher but it is incompatible with electron-rebuild (see here). The suggested workaround is to use onlyModules but that means I have to explicitly include modules I do want to use there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to exclude a module from a Maven reactor build?
With Maven 3.2.1, you can now use -pl !<module_name>,!<module_name> to exclude certain modules from the reactor build.
Read more >
Mastering Maven: Exclude Modules From Build
When we are working with a multi-module project in Maven we might want to exclude a module when we invoke a build command....
Read more >
Modules can be excluded from the configuration ...
It is possible to exclude required modules, which means that the exported configuration can not be imported any more. This is an advanced ......
Read more >
Excluding A Module - Apache Maven EAR Plugin
Excluding A Module. If for some reason a dependency which is declared in the pom of the project needs to be excluded, the...
Read more >
How to Exclude Gradle Dependencies
Option 3) module replacement exclude alternative. Reviewing your project's dependencies. Common pitfalls. Comparison of Gradle's dependency ...
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