Ask coding questions

← Back to all posts
Electron on replit
[deleted]

Im wondering, does electron work on repl.it? If so, how can I use it?

Answered by AdCharity (1322) [earned 5 cycles]
View Answer
Comments
hotnewtop
AdCharity (1322)

I take that back it doesn’t work

[deleted]

@AdCharity it doesnt work? =(

AdCharity (1322)

@TaylorLiang just tried and it can’t read app (undefined). File a feedback report I guess and maybe the discord?

RowanFromBJC (50)

I got it to work
Proof: https://repl.it/@RowanFromBJC/happy-electron-app#main.sh
I'm still working on a way to package electron apps.

blaster202 (3)

npm i --save-dev electron-builder
then use
./node_modules/.bin/electron-builder .

Electron Builder Docs: https://www.electron.build/

@RowanFromBJC

AdCharity (1322)

Just to confirm this is Electron right? For desktop apps?

[deleted]

@AdCharity yes, for electron. I was tired at 10:00 pm, and I typed in express by accident

AdCharity (1322)

Does it work? Probably (since other frameworks work as well)

SixBeeps (5225)

I've definitely seen projects that use Electron. Isn't is a Node addon?

[deleted]

@SixBeeps Yes, but im wondering if I can create a working project on it using node

SixBeeps (5225)

@TaylorLiang I believe so. @AdCharity, do you know anything about Electron?

AdCharity (1322)

@SixBeeps Express is not Electron.

AdCharity (1322)

@SixBeeps idk which one Taylor wants but I'm assuming electron because he wants to make a working project but I'm not sure. I mean there's literally an Express repl option so I can't imagine he means Express :/