I was trying to package an Electron applicationusing electron-packager but get this error:
Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL protocol must be "http:".
The command that I ran is:
npx electron-packager . dodge-them-all --overwrite --asar --platform=win32 --arch=ia32 --prune=true --out=bin
and expected for it to create a folder with the executable file, but got an error.
This is a duplicate of GLOBAL_AGENT.HTTP_PROXY not letting me build Electron Pacakge
All you need to do is: npm update