Change your "start" script so you can launch the app easily: "scripts": { "start": "electron ." } Use code with caution. Running Your Application
Are you ready to package your app for distribution? You might want to look into or Electron Builder next to create .exe installers for your users! exe) installer? electron download windows
: Open your Command Prompt (CMD) or PowerShell and type: node -v npm -v Use code with caution. If version numbers appear, you are ready to proceed. How to Download and Install Electron on Windows Change your "start" script so you can launch
: Follow the Windows Installation Wizard. Make sure the option to "Add to PATH" is checked. exe) installer
: If the electron command isn't recognized, ensure Node.js was correctly added to your Windows Environment Variables.
This file controls the "Main Process" and creates the browser window. javascript