Closed skykanin closed 18 hours ago
Hi, sorry this is happening for you and thanks for the issue. We don't have a good workflow for this condition so it will be hard to support but we'll do our best.
Installing libringrtc
might require a connection -- can you check the output of some of commands (maybe yarn install
) to see if there's any errors related to downloading?
Hi, sorry this is happening for you and thanks for the issue. We don't have a good workflow for this condition so it will be hard to support but we'll do our best.
Installing
libringrtc
might require a connection -- can you check the output of some of commands (maybeyarn install
) to see if there's any errors related to downloading?
yes, I do see an error when running yarn install --offline
, I thought it was unrelated, but maybe it's not. I'm not super familiar with the electron toolchain. I would've thought libringrtc
is just installed like any other npm package, but maybe that's not the case?
Yarn offline cache is hopelessly broken since it makes it impossible to patch dependencies.
You can start with the vendor script we use at openSUSE to see how it can be done.
I'm gonna close this, as it's not a bug in the product itself, or even a goal of our development workflows. Feel free to continue talking about it here or in the forums: https://community.signalusers.org/c/beta-feedback/25
Using a supported version?
Overall summary
I'm attempting to package the signal desktop app for the nix package manager on linux. In that context I need to be able to install
signal-desktop
from yarn using an offline cache since you don't have internet access when building a package through nix. However, when I do this the resulting binary crashes with an exception Error: Cannot find module '../../build/linux/libringrtc-x64.node'. I can see from the build result that@signalapp/ringrtc
is missing from theapp.asar
archive that gets built even though the package exists in the offline cache. However when buildingsignal-desktop
without an offline cache@signalapp/ringrtc
isn't missing fromapp.asar
.Steps to reproduce
Expected result
Expected
./release/linux-unpacked/signal-desktop
to run without crashing.Actual result
signal-desktop
crashes with Error: Cannot find module '../../build/linux/libringrtc-x64.node'Signal version
7.5.1
Operating system
NixOS 24.05.20240427.58a1abd (Uakari): "x86_64-linux"