This is an example, how to make an simple electron app.
Clone the repo
git clone https://github.com/LuisPaGarcia/electron-app.git
Download electron on the same folder
npm i electron
The package.json, on scripts section must only have "start": "electron main.js"
run on the repo folder.
npm start