huggingface / huggingface/llm-ls

[BUG] Server doesn't start on NixOS

Open
#24 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
881
Forks
71
Avg merge
33m
Merged PRs (30d)
1

Description

The plugin v0.1.0 installs fine on NixOS (23.05) and VSCodium v1.82.2.23257 but crashes on launch. This is the error that I get:

```
[Error - 2:52:13 PM] LLM VS Code client: couldn't create connection to server.
Launching server using command /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server/llm-ls failed. Error: spawn /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server/llm-ls ENOENT
```

Trying to run the server from terminal results error "No such file or directory", and the problem doesn't seem to be in execution rights:

```
# The file and containing folder exists
erkkimon@nixos:~/ > ls /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server
llm-ls

# Calling the binary doesn't compute
erkkimon@nixos:~/ > /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server/llm-ls
zsh: no such file or directory: /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server/llm-ls

# Making sure the binary is executable
erkkimon@nixos:~/ > chmod a+x /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server/llm-ls

# Still no compute
erkkimon@nixos:~/ > /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server/llm-ls
zsh: no such file or directory: /home/erkkimon/.vscode-oss/extensions/huggingface.huggingface-vscode-0.1.0-linux-x64/server/llm-ls
```

Any ideas? If I figure out something, I will definitely let the internet know.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.