Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to create the flatpak #29

Open
andirsun opened this issue Mar 28, 2022 · 0 comments
Open

Failing to create the flatpak #29

andirsun opened this issue Mar 28, 2022 · 0 comments

Comments

@andirsun
Copy link

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

[email protected] 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! [email protected] 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 [email protected] 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant