Reeed
Reeed11mo ago

cant set up vscode language server

i got some error from the initialization of the language server:
Starting Deno language server...
version: 1.36.4 (release, x86_64-pc-windows-msvc)
executable: D:\Deno\deno.EXE
Connected to "Visual Studio Code" 1.86.0
Cannot set workspace settings: invalid type: null, expected a sequence
[Error - 10:59:00 PM] Server initialization failed.
Message: Internal error
Code: -32603
[Error - 10:59:00 PM] Deno Language Server client: couldn't create connection to server.
Message: Internal error
Code: -32603
[Info - 10:59:02 PM] Connection to server got closed. Server will restart.
Starting Deno language server...
version: 1.36.4 (release, x86_64-pc-windows-msvc)
executable: D:\Deno\deno.EXE
Connected to "Visual Studio Code" 1.86.0
Cannot set workspace settings: invalid type: null, expected a sequence
[Error - 10:59:00 PM] Server initialization failed.
Message: Internal error
Code: -32603
[Error - 10:59:00 PM] Deno Language Server client: couldn't create connection to server.
Message: Internal error
Code: -32603
[Info - 10:59:02 PM] Connection to server got closed. Server will restart.
i tried to use Deno: Enable in the command palette, but it said command deno.client.enable not found. how to fix this?
3 Replies
marvinh.
marvinh.11mo ago
cc @nayeemrmn
nayeemrmn
nayeemrmn11mo ago
You have to deno upgrade to a later version, or downgrade vscode-deno to 3.27.0
Reeed
ReeedOP11mo ago
thanks, works now