I'm trying to compile a node.js electron application to executables. If I managed to do this, would the person who runs the app need node.js installed to run it?
To use Electron, you need to install Node. js. We recommend that you use the latest LTS version available.
How do you make an Electron app executable? Create the Electron based Syncfusion Application as mentioned in this link. Then package the application using Electron Packager, once packing completed JS_Electron-win32-ia32 folder will be created with Electron package file.
Standard Node. js is built against V8, which compiles every Javascript code snippet into native instructions. You may use --print_code flag in the command line to see which scripts are getting compiled, and compiled into what.
No, the person would not need separate Node.js installed.
By embedding Chromium and Node.js into its binary, Electron allows you to maintain one JavaScript codebase and create cross-platform apps that work on Windows, macOS, and Linux — no native development experience required.
Source: https://www.electronjs.org/docs/latest
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With