LuaLS / LuaLS/lua-language-server
What are the necessary files?
Personne n'a encore pris cette issue.
- Langage dominant
- Lua
- Étoiles
- 4.4k
- Forks
- 442
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
After fixing some errors and managing to correctly compile lua-language-server I executed `bin/lua-language-server` and it works, but when coping this single executable to `~/.local/bin` it stops working and give this error:
```
./lua-language-server: cannot open (bootstrap.lua): No such file or directory
```
I tried coping the whole `bin` folder to `~/.local/bin` and when running `lua-language-server` it shows:
```
./lua-language-server: (bootstrap.lua):85: cannot open ~/.local/bin/main.lua: No such file or directory
stack traceback:
[C]: in function 'assert'
(bootstrap.lua):85: in main chunk
[C]: in ?
```
If I move `main.lua` one directory back into `~/.local/bin` it comes back to the first error.
What is the right way of install it? Running directly from the source folder doesn't seem like a good approach
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Review the installation guidance and the repository's bin directory, including bootstrap.lua and main.lua, to determine the supported layout for running lua-language-server outside the source folder. Document the correct installation steps and required files, then verify them from a copied installation under ~/.local/bin.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- lua
- Domaine
- devtools
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100