Skip to content
Discussion options

You must be logged in to vote

Some additional notes

Let's disambiguate package.json use cases for future readers - because there are at least three different ones:

Installation of packages for build customization

This is what this question was about. I think the suggestions I gave should work for this.

In order to create Linux packages with electron-builder, it's also required to install certain prerequisites - which even requires privileged execution (e.g. sudo apt install rpmtools) - otherwise, you cannot build rpm packages, so installation of such prerequisites as a global lib isn't really unusual.

Packages required on the Electron Side

If somebody needs npm packages on the Electron side (like for using in a preloa…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@KristinaPlusPlus
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by KristinaPlusPlus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants