Currently https://service.electron.build is offline (and has been for months), so here is a solution you can use while the server is offline:
- Install WSL (this guide is going to use Ubuntu 20.04, you can follow this guide to install it)
- Launch the WSL terminal
- Install npm with this command (might be installed by default, can't remember):
sudo apt install npm and enter your password
- Go to your project folder with this command:
cd /mnt/<drive letter>/<project location>, for example: cd /mnt/d/Project/sample project
- Run:
npm i electron-builder -g
- Then build your project with:
electron-builder -l
And it should build into your dist/ folder unless you've changed it