Skip to content

Failing to create the flatpak #29

@andirsun

Description

@andirsun

What version of electron-installer-flatpak are you using?
latests
What version of node and npm are you using?
14
What operating system are you using?
linux
Can you compile the example app successfully?
Yes
If not, paste here the output of the following commands:

$ git clone https://github.com/endlessm/electron-installer-flatpak.git
$ cd electron-installer-flatpak/example
$ DEBUG='electron-installer-flatpak' npm run build

What did you do? Please include the configuration you are using for electron-installer-flatpak.

What did you expect to happen?

What actually happened?
❯ npm run flatpak64

example@1.0.0 flatpak64 /home/andirsun/projects/with-electron-typescript-app
electron-installer-flatpak --src dist/app-linux-x64/ --dest dist/installers/ --arch x64

Creating package (this may take a while)

Error: flatpak failed with status code 1
    at ChildProcess.<anonymous> (/home/andirsun/projects/with-electron-typescript-app/node_modules/flatpak-bundler/index.js:74:16)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5) Error: flatpak failed with status code 1
    at ChildProcess.<anonymous> (/home/andirsun/projects/with-electron-typescript-app/node_modules/flatpak-bundler/index.js:74:16)
    at ChildProcess.emit (events.js:400:28)
    at maybeClose (internal/child_process.js:1058:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! example@1.0.0 flatpak64: `electron-installer-flatpak --src dist/app-linux-x64/ --dest dist/installers/ --arch x64`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the example@1.0.0 flatpak64 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/andirsun/.npm/_logs/2022-03-28T17_06_26_306Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions