LuaLS / LuaLS/lua-language-server
What are the necessary files?
還沒有人認領這個 Issue。
- 主要語言
- Lua
- 星號
- 4.4k
- 分支
- 442
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
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.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- lua
- 領域
- devtools
- Issue 類型
- 文件
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100