4
For a user to run a .exe
of a software made in Electron, it needs to have Node.js urged?
4
For a user to run a .exe
of a software made in Electron, it needs to have Node.js urged?
6
"It allows you to develop desktop GUI applications using front end and back end components originally created for web applications: Node.js for the back end and Chromium for the front end." - Wikipedia - Electron (software)
Returning to your question:
This person needs to have Node.js installed?
The answer is yes and nay. I’ll explain to you why!
Electron, as stated earlier, uses Node.js in its back-end. But this does not mean that the user needs Node.js installed separately.
For example: me didn’t install Node.js on my computer. But I installed Discord, which uses Electron. Which automatically installed Node.js.
When I open Discord, (courtesy) Node.js starts automatically:
(Print of "Task Manager")
So, yes, the user needs Node.js installed. And nay, does not need to install it separately. Electron itself "prepares" the user environment.
2
Certainly not, the role of Electron is to interpret JS + HTML and compile a . exe (binary executable)
Notwithstanding the low quality, the "Certainly not" answers the question. It is interesting, yes, to substantiate the question. But the rest of the statement can lead to confusion. That’s not the point.
Thank you @Lipespry
Browser other questions tagged node.js electron
You are not signed in. Login or sign up in order to post.
I didn’t know that Node was installed as well. + 1 :) And if you don’t have Chromium, it is also installed automatically?
– Luiz Felipe
Yeah, I kind of knew that, except for the "dependencies" installation part automatically. But really, it makes the most sense. I thought everything was already embedded in the generated binary. .-.
– Luiz Felipe
When I said binary, I was referring to the executable. Node is already included in it (in
.exe
)? If yes, then why is it installed separately too?– Luiz Felipe
Oh yes, I get it. Thank you for the help. :-D
– Luiz Felipe