LuaLS / LuaLS/lua-language-server
What are the necessary files?
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 4.4k
- Forks
- 442
- PR merge metrics
- No merged PRs in 30d
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- devtools
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100