Pasang elektron terbaru
npm i -D electron@latest
# Electron 15.2.0
# Node 16.5.0
# Chromium 94.0.4606.81
PieterSpruijt
npm i -D electron@latest
# Electron 15.2.0
# Node 16.5.0
# Chromium 94.0.4606.81
1) Make sure node.js is installed on your machine
2) CD into your directory
3) Crete a json package using the following command:
npm init
4) Install the electron module using the following command:
npm install --save-dev electron
npm i -D electron@latest
# Electron 17.1.0
# Node 16.13.0
# Chromium 98.0.4758.102
npm install electron --save-devCopy