maker-flatpak should successfully build the flatpak
maker-flatpak process fails with the following error:
An unhandled error has occurred inside Forge:
An error occured while making for target: flatpak
flatpak-builder failed with status code 1
Error: flatpak-builder failed with status code 1
at ChildProcess.<anonymous> (/home/denn-s/VSCodeProjects/my-app/node_modules/@malept/flatpak-bundler/index.js:68:16)
at ChildProcess.emit (events.js:315:20)
at ChildProcess.EventEmitter.emit (domain.js:485:12)
at maybeClose (internal/child_process.js:1051:16)
at Socket.<anonymous> (internal/child_process.js:442:11)
at Socket.emit (events.js:315:20)
at Socket.EventEmitter.emit (domain.js:485:12)
at Pipe.<anonymous> (net.js:670:12)
error Command failed with exit code 1.
{
"name": "@electron-forge/maker-flatpak",
"config": {
"options": {
"categories": ["Video"],
"mimeType": ["video/h264"]
}
}
}I figured out a way to make @electron-forge/maker-flatpak work again. My research for a solution guided me towards the following result:
{
"name": "@electron-forge/maker-flatpak",
"config": {
"options": {
"base": "io.atom.electron.BaseApp",
"base-version": "stable"
}
}
}
If this is desired I could create a pull request in order to extend the documentation for maker-flatpak so that new users could set up a working flatpak configuration.
I've updated the documentation to reflect the relatively new external dependency: https://github.com/MarshallOfSound/electron-forge-docs/commit/2aa0f59668d630e4100ac82129de53e154c63d06
Adding eu-string via elfutils doesn't fix this problem. Tested on Arch and Ubuntu 18.04.
Also having this issue, although the error shows slightly different lines:
Error: flatpak failed with status code 1
at ChildProcess.<anonymous> (/home/sfr/Documents/repositories/test/node_modules/@malept/flatpak-bundler/index.js:71:16)
at ChildProcess.emit (node:events:376:20)
at ChildProcess.EventEmitter.emit (node:domain:470:12)
at maybeClose (node:internal/child_process:1063:16)
at Socket.<anonymous> (node:internal/child_process:449:11)
at Socket.emit (node:events:376:20)
at Socket.EventEmitter.emit (node:domain:470:12)
at Pipe.<anonymous> (node:net:666:12)
Tested on Arch, everything seems up-to-date.
Most helpful comment
Adding eu-string via elfutils doesn't fix this problem. Tested on Arch and Ubuntu 18.04.