Ask coding questions

← Back to all posts
Error when running electron quickstart
PiTiKiDBB (0)

/home/runner/librarySystem/node_modules/electron/dist/electron: error while loading shared libraries: cannot open shared object file: No such file or directory
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: electron .
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2021-03-03T14_56_52_613Z-debug.log
exit status 1

Coder100 (17136)

Replit doesn't support electron apps, not only do they take way too much memory, they also aren't extremely useful.

Maybe they will implement it in later stages, but for now just do this locally, you will have a better editing experience.

EpicGamer007 (1644)

@Coder100 they could also try making the electron app but on like, nodejs with a webserver or html/css/js and then port it to electron when they can do it on a personal computer

Coder100 (17136)

@EpicGamer007 no, some things are electron-only

Coder100 (17136)

for example requiring node modules @EpicGamer007

EpicGamer007 (1644)

@Coder100 i mean... ig when porting, they obviously have to change stuff, idk anymore