forge
forge copied to clipboard
Unable to build flatpak
Pre-flight checklist
- [x] I have read the contribution documentation for this project.
- [x] I agree to follow the code of conduct that this project uses.
- [x] I have searched the issue tracker for a bug that matches the one I want to file, without success.
Forge version
7.8.3
Electron version
37.4.0
Operating system
Linux
Last known working Forge version
No response
Expected behavior
My project has Webpack, React and Tailwind. Making a flatpak, whether via Github Action or on the host machine causes the same issue:
✖ Making a flatpak distributable for linux/x64 [FAILED: flatpak failed with status code 1]
✖ Making distributables [FAILED: flatpak failed with status code 1]
An unhandled rejection has occurred inside Forge:
Error: flatpak failed with status code 1
at ChildProcess.<anonymous> (/home/runner/work/kanban_widget_2/kanban_widget_2/node_modules/@malept/flatpak-bundler/index.js:71:16)
at ChildProcess.emit (node:events:524:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5)
Any possible causes? Thanks
Actual behavior
It compiles
Steps to reproduce
Try to make a flatpak.
Additional information
No response
Same error here when trying to yarn make on Fedora 42 arm64
You can run make with DEBUG=* to see the debug logs and the actual errors.