-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Installing signal-desktop from yarn offline cache yields missing dependencies #6886
Comments
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 |
yes, I do see an error when running |
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"
The text was updated successfully, but these errors were encountered: