Skip to content

Is bundling the NodeJS binary necessary? #2591

Answered by Julusian
jwetzell asked this question in Q&A
Discussion options

You must be logged in to vote

We used to just use electron and fork off it when needed, but that meant that we were always lagging behind on electron version as updating electron would risk breaking things especially when they changed major nodejs version.

We have had problems in the past when updating the nodejs version, because it would break some of the community written modules. This separate nodejs binary is largey preparation so that we can bundle multiple versions, and use different ones for different modules.

Then theres that time that:

  1. libjpeg-turbo broke because electron/chromium has a version builtin, and the version we were loading conflicted with it
  2. electron broke many node-api modules, and can have lowe…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by jwetzell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2590 on September 29, 2023 21:46.