Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hmm, I don't know. I install Node.js from the official website using a .pkg, though. Maybe also try using "su" or "sudo" to run the commands? My output is like this:

(zsh-1) kinky-dungeon % mkdir ~/Electron

(zsh-1) kinky-dungeon % cd ~/Electron

(zsh-1) Electron % ls

(zsh-1) Electron % npm install electron --save-dev   

added 75 packages in 3s

21 packages are looking for funding

  run `npm fund` for details

(zsh-1) Electron % ls

node_modules      package-lock.json package.json

Thanks, I somehow get my own electron app itself installed using VS Code, but after pasting all the file into the one I created, I still get it crashed. Thank you anyway.

I tried this aswell and it works for me, you need to run the comman "npm init -y" in the folder where you want to install Electron first and then run " npm install electron --save-dev". Then you will be able to see the installed node-packages in the folder. If you then follow ffeellights description (and make sure to rightcklick kinky-dungean.app -> show package contents and copy the contents/ressources/app and not just the normal directory with kinky-dungeon.app and kd-mods in it) it should work for you too.

Thank you, this does work. Last time I paste the whole contents folder into the electron contents folder, that's why it doesn't work. This time I paste only the Resources folder and it works with no issue.