You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the code of conduct that this project follows, as appropriate.
I have searched the issue tracker for an issue that matches the one I want to file, without success.
Please describe your issue:
I am trying to convert my Electron app that was built by electron-packager on Linux x64, but it fails.
Console output when you run electron-installer-snap with the environment variable DEBUG='electron-installer-snap:*'. Please include the stack trace if one exists.
codey@codey:~/Desktop/electronpw/PenguinWorld-linux-x64$ npx electron-installer-snap DEBUG='electron-installer-snap:*'
npx: installed 76 in 4.627s
Cloning into '/tmp/electron-snap-307026TRYHqIGjFtT/parts/desktop-gtk3/src'...
remote: Enumerating objects: 37, done.
remote: Counting objects: 100% (37/37), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 1387 (delta 9), reused 20 (delta 2), pack-reused 1350
Receiving objects: 100% (1387/1387), 261.40 KiB | 966.00 KiB/s, done.
Resolving deltas: 100% (715/715), done.
(node:30702) UnhandledPromiseRejectionWarning: Error: Exited with status 2
at closeArgsToError (/home/codey/.npm/_npx/30702/lib/node_modules/electron-installer-snap/node_modules/cross-spawn-promise/lib/index.js:20:16)
at ChildProcess.<anonymous> (/home/codey/.npm/_npx/30702/lib/node_modules/electron-installer-snap/node_modules/cross-spawn-promise/lib/index.js:76:19)
at Object.onceWrapper (events.js:277:13)
at ChildProcess.emit (events.js:189:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
(node:30702) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:30702) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
What command line arguments are you passing? Alternatively, if you are using the API, what
parameters are you passing to the snap() function?
npx electron-installer-snap
in the packaged directory
Am I missing or not doing something correctly?
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you have a question about using electron-installer-snap, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Without knowing what the debug information is (see the section on debugging in our docs), I can only speculate as to what the problem is. My guess is that it's failing since the base isn't set and you're using a relatively recent version of Linux (e.g., not Ubuntu 16.04). #47 will autodetect the value for you if it isn't set already.
If this isn't the case, please supply the appropriate debugging information per the docs and we can try to determine what's actually wrong.
Please describe your issue:
I am trying to convert my Electron app that was built by electron-packager on Linux x64, but it fails.
Console output when you run electron-installer-snap with the environment variable
DEBUG='electron-installer-snap:*'
. Please include the stack trace if one exists.What command line arguments are you passing? Alternatively, if you are using the API, what
parameters are you passing to the
snap()
function?in the packaged directory
Am I missing or not doing something correctly?
The text was updated successfully, but these errors were encountered: