LuaLS / LuaLS/lua-language-server

What are the necessary files?

Abierto
#3,122 3 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Lua
Estrellas
4.4k
Forks
442
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
lua
Área
devtools
Tipo de issue
Documentación
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.