LuaLS / LuaLS/lua-language-server

What are the necessary files?

Aperta
#3,122 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Lua
Stelle
4.4k
Fork
442
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
lua
Ambito
devtools
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.