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

Application won't launch, gives javascript error #783

Open
molytov opened this issue Nov 13, 2024 · 4 comments
Open

Application won't launch, gives javascript error #783

molytov opened this issue Nov 13, 2024 · 4 comments

Comments

@molytov
Copy link

molytov commented Nov 13, 2024

Running the latest version of the application on Fedora 40.
Trying to launch via the terminal and going through the plaintext storage warning, I get the output and error below, and the application doesn't start.

Debug: Using password store: basic

Debug: Will run signal with the following arguments: --password-store=basic
Debug: Additionally, user gave: 
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT, node_modules/@signalapp/libsignal-client/prebuilds/linux-x64/@signalapp+libsignal-client.node not found in /app/Signal/resources/app.asar
    at createError (node:electron/js2c/node_init:2:2002)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2721)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at load (/app/Signal/resources/app.asar/node_modules/node-gyp-build/node-gyp-build.js:22:10)
    at Object.<anonymous> (/app/Signal/resources/app.asar/node_modules/@signalapp/libsignal-client/Native.js:6:43)
    at Module._compile (node:internal/modules/cjs/loader:1484:14)
^C
$ [2 preload-host-spawn-strategy] Dropping 0x1bf000108d80 (3) because of connection closed
[2:1112/200802.282600:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
[2:1112/200802.282945:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
@flg
Copy link

flg commented Nov 21, 2024

Same error. System is AlmaLinux 9.4, up-to-date.

$ flatpak info org.signal.Signal

Signal Foundation - Private messenger

          ID: org.signal.Signal
         Ref: app/org.signal.Signal/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 7.34.0
     License: AGPL-3.0-only
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 477.4 MB
     Runtime: org.freedesktop.Platform/x86_64/24.08
         Sdk: org.freedesktop.Sdk/x86_64/24.08

      Commit: bc05d11cf9ed55516a5e46e86a4102c2110d2e24a8c773981463db3b30a731aa
      Parent: 33d8ebbce57248de373981e9eef031c01934b9464b9a386376ea33dbd7aca30c
     Subject: signal-desktop: Update signal-desktop.deb to 7.34.0 (#788) (b9a12c53)
        Date: 2024-11-20 21:44:58 +0000

@diamondburned
Copy link

I'm also getting this error.

flatpak run output
$ flatpak run org.signal.Signal 
Debug: Using password store: basic
Debug: Will run signal with the following arguments: --password-store=basic
Debug: Additionally, user gave: 
A JavaScript error occurred in the main process
Uncaught Exception:
Error: ENOENT, node_modules/@signalapp/libsignal-client/prebuilds/linux-x64/@signalapp+libsignal-client.node not found in /app/Signal/resources/app.asar
    at createError (node:electron/js2c/node_init:2:2002)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2721)
    at Module.load (node:internal/modules/cjs/loader:1295:32)
    at Module._load (node:internal/modules/cjs/loader:1111:12)
    at c._load (node:electron/js2c/node_init:2:16955)
    at Module.require (node:internal/modules/cjs/loader:1318:19)
    at require (node:internal/modules/helpers:179:18)
    at load (/app/Signal/resources/app.asar/node_modules/node-gyp-build/node-gyp-build.js:22:10)
    at Object.<anonymous> (/app/Signal/resources/app.asar/node_modules/@signalapp/libsignal-client/Native.js:6:43)
    at Module._compile (node:internal/modules/cjs/loader:1484:14)
Gtk-Message: 16:11:39.734: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:11:39.734: Failed to load module "pk-gtk-module"
Gtk-Message: 16:11:39.735: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:11:39.735: Failed to load module "pk-gtk-module"
^C
[2:1121/161148.856604:FATAL:bus.cc(1246)] D-Bus connection was disconnected. Aborting.
[2 preload-host-spawn-strategy] Dropping 0x39d800108d80 (3) because of connection closed
flatpak info output
$ flatpak info org.signal.Signal

Signal Desktop - Private messenger

          ID: org.signal.Signal
         Ref: app/org.signal.Signal/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 7.34.0
     License: AGPL-3.0-only
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 477.4 MB
     Runtime: org.freedesktop.Platform/x86_64/24.08
         Sdk: org.freedesktop.Sdk/x86_64/24.08

      Commit: bc05d11cf9ed55516a5e46e86a4102c2110d2e24a8c773981463db3b30a731aa
      Parent: 33d8ebbce57248de373981e9eef031c01934b9464b9a386376ea33dbd7aca30c
     Subject: signal-desktop: Update signal-desktop.deb to 7.34.0 (#788) (b9a12c53)
        Date: 2024-11-20 21:44:58 +0000

@diamondburned
Copy link

#751 (comment) fixes this issue.

@flg
Copy link

flg commented Nov 22, 2024

Fix confirmed

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

3 participants