lua-language-server
lua-language-server copied to clipboard
Lua client can't connect to the server
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Annotations, Type Checking, Completion, Diagnostics/Syntax Checking, Hover, Libraries, Formatting, Spell Checking, Plugins
Expected Behaviour
I expect the extension to provide me everything it has.
Actual Behaviour
Instead, I get this error:
[Error - 17:48:21] Lua client: couldn't create connection to server.
Error: spawn UNKNOWN
at ChildProcess.spawn (node:internal/child_process:412:11)
at Object.spawn (node:child_process:707:9)
at c:\Users\mikwee\.vscode-oss\extensions\sumneko.lua-3.2.0\client\node_modules\vscode-languageclient\lib\node\main.js:418:46
at async LanguageClient.createConnection (c:\Users\mikwee\.vscode-oss\extensions\sumneko.lua-3.2.0\client\node_modules\vscode-languageclient\lib\common\client.js:1018:28)
at async LanguageClient.start (c:\Users\mikwee\.vscode-oss\extensions\sumneko.lua-3.2.0\client\node_modules\vscode-languageclient\lib\common\client.js:601:32)
Reproduction steps
- Start VSCode/VSCodium
- See the error
Additional Notes
No response
Log File
No response
Because of some compatibility issues, the last available version on VSCode-OSS is 2.5.3. 3.2.0 is an failed attemption. This version has been reverted. Please try to install the old version manually.