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

bitwarden-cli: No native build was found for platform=linux arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.18.3 #390777

Closed
3 tasks done
devurandom opened this issue Mar 17, 2025 · 2 comments · Fixed by #390933
Labels

Comments

@devurandom
Copy link
Contributor

devurandom commented Mar 17, 2025

Nixpkgs version

  • Unstable (25.05)

Describe the bug

Any operation that involves unlocking the Bitwarden Vault with the "master" password (bw unlock, bw list items --search ...) fails with:

No native build was found for platform=linux arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.18.3
    loaded from: /nix/store/cyzz8f0yissb3gdkc8181h8db1lpil25-bitwarden-cli-2025.1.3/lib/node_modules/@bitwarden/clients/node_modules/argon2

Steps to reproduce

On a system with:

  environment.systemPackages = (with pkgs; [
    bitwarden-cli
  ];

Where you ran bw login before and where bw unlock used to work, run:

❯ bw unlock
? Master password: [hidden]
No native build was found for platform=linux arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.18.3
    loaded from: /nix/store/cyzz8f0yissb3gdkc8181h8db1lpil25-bitwarden-cli-2025.1.3/lib/node_modules/@bitwarden/clients/node_modules/argon2

Expected behaviour

Unlocking succeeds

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.13.7, NixOS, 25.05 (Warbler), 25.05.20250315.c80f6a7
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • channels(root): "nixos"
  • nixpkgs: /nix/store/alzxn3hjisc84hrlv44x6hni48crww26-source

Notify maintainers

@dotlambda


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@devurandom devurandom added the 0.kind: bug Something is broken label Mar 17, 2025
@dotlambda
Copy link
Member

dotlambda commented Mar 17, 2025

bisected to 0cebbcb (#378937)
Maybe the issue is --ignore-scripts?
cc @Tobix99 @wolfgangwalther @eclairevoyant

@TomaSajt
Copy link
Contributor

TomaSajt commented Mar 18, 2025

What I do usually if npm fails without --ignore-scripts is that I run with --ignore-scripts then remove/patch out the failing script, then run npm rebuild to run the scripts that were skipped previously

Also note: #376765 added --ignore-scripts to vaultwarden too. Is that also broken perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants