Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Electron Forge stuck "Packaging Application"

I am attempting to publish an application to a public github repo using electron-forge publish. electron-forge make works fine and I can run the built application. electron-forge publish almost seems to work, but it hangs on the Packaging Application step.

The exact command I am running is electron-forge publish --arch arm64,x64. I've tried setting the DEBUG environment variable to *, but nothing useful is output. Here is the last few lines of the command output:

⠸ Searching for target release: 1.0.0  electron-forge:publisher:github:info GET /repos/owner/repo/releases?per_page=100 - 200 in 234ms +0ms
✔ Searching for target release: 1.0.0
✔ Uploading Artifacts 2/2 to v1.0.0
⠼ Packaging Application

Edit, if I remove the --arch param then everything works.

like image 366
Max Avatar asked Sep 12 '26 12:09

Max


1 Answers

If you using the plugin "electronegativity", try to remove it.

Also, another possible solution:

  • Unable to determine Electron version. Please specify an Electron version

If none of this helps, try to set the env variable DEBUG=* and run your command again. Probably, it will show the reason.

like image 105
Dinar Avatar answered Sep 15 '26 09:09

Dinar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!