You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is no global node installed, Zed attempts to download a version and places it in ~/.local/share/zed
Because nix doesn't have a normal LD_PATH this version of node fails to run
installing and configuring NIXLD doesn't seem to do anything as i assume these two lines are deleteing the NIX_LD and NIX_LD_LIBRARY_PATH env vars for the process
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
{"level":1,"module_path":"project::prettier_store","file":"crates/project/src/prettier_store.rs","line":536,"message":"(remote server) Failed to install default prettier: prettier & plugins install: fetching latest npm versions: fetching latest npm version for package prettier: failed to execute npm info subcommand:\nstdout: \"\"\nstderr: \"cannot execute /home/four/.local/share/zed/node/node-v22.5.1-linux-arm64/bin/node: You are trying to run an unpatched binary on nixos, but you have not configured NIX_LD or NIX_LD_aarch64-linux. See https://github.com/Mic92/nix-ld for more details\\n\""}
The text was updated successfully, but these errors were encountered:
Check for existing issues
Describe the bug / provide steps to reproduce it
When there is no global node installed, Zed attempts to download a version and places it in ~/.local/share/zed
Because nix doesn't have a normal LD_PATH this version of node fails to run
installing and configuring NIXLD doesn't seem to do anything as i assume these two lines are deleteing the NIX_LD and NIX_LD_LIBRARY_PATH env vars for the process
zed/crates/node_runtime/src/node_runtime.rs
Lines 416 to 417 in 2ea4ede
Environment
Zed: v0.161.1 (Zed Preview)
OS: macOS 14.7.0
Memory: 18 GiB
Architecture: aarch64
Remote host is a NixOS host
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: