lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

Lua client can't connect to the server

Open mikwee opened this issue 3 years ago • 1 comments

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

  1. Start VSCode/VSCodium
  2. See the error

Additional Notes

No response

Log File

No response

mikwee avatar Aug 09 '22 15:08 mikwee

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.

sumneko avatar Aug 10 '22 09:08 sumneko