You are not logged in.
Dear Archlinux users,
Hope that I can get some help on how to troubleshoot this.
When I try to launch 'Ledger Live' I get following error.
[20:59:04] christer@Archmain /home/christer (0)
> ledger-live-desktop
Ledger Live 2.34.4
(node:187033) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at load (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3802:14)
at async ensureNSLoaded (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3830:5)
at async Object.getKey (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3905:3)
at async App.<anonymous> (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:4182:20)
(Use `ledger-live-desktop --trace-warnings ...` to show where the warning was created)
(node:187033) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an asyncng a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unharg/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:187033) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not h a non-zero exit code.
[21:01:27] christer@Archmain /home/christer (0)
Ledger live is installed from AUR, curent version 2.34.4
I also tried with the binary directly from Ledger but get the same thing.
Anyone got an idea on what is happening here and why I cant get it to run under Arch.
Thank you!
Best regards,
Christer
Last edited by c_o_e (2021-11-18 14:46:08)
Offline
A good start would probably be to use `ledger-live-desktop --trace-warnings ...` to show where the warning was created.
And post the output in [ code ] tags.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you Trilby,
The output I get when running ledger-live-desktop --trace-warnings are.
[14:04:07] christer@Archmain /home/christer (0)
> ledger-live-desktop --trace-warnings (base)
Ledger Live 2.34.4
(node:296912) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at load (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3802:14)
at async ensureNSLoaded (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3830:5)
at async Object.getKey (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:3905:3)
at async App.<anonymous> (/opt/ledger-live-desktop/resources/app.asar/.webpack/main.bundle.js:4182:20)
(Use `ledger-live-desktop --trace-warnings ...` to show where the warning was created)
(node:296912) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:296912) [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.
I'm not sure that trace-warnings gave more information I am afraid.
Thanks,
Offline
Hi,
For some reson it looks like the way of starting "ledge-live-desktop" have changed.
Before it was just to start it with "ledge-live-desktop" but now I have to start it with "sudo ledge-live-desktop --no-sandbox" for some reason.
It would be interesting to know why this is, so if anyone know why the change please comment. Thank you!
Best regards!
Offline