D
Deno

help

cant set up vscode language server

RReeed2/1/2024
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?
Mmarvinh.2/1/2024
cc @nayeemrmn
Nnayeemrmn2/2/2024
You have to deno upgrade to a later version, or downgrade vscode-deno to 3.27.0
RReeed2/5/2024
thanks, works now

Looking for more? Join the community!