GodOfAvacyn / gdshader-lsp

29 stars 0 forks source link

ERROR - VSCode Plugin - Language Server Example client: couldn't create connection to server. #2

Open FelixGCliche opened 1 month ago

FelixGCliche commented 1 month ago

Hi there, I tried installing the VSCode plugin and got the following error:

Language Server Example client: couldn't create connection to server.
Launching server using command c:\Users\felix\.vscode\extensions\godofavacyn.gdshader-lsp-1.0.7\server\gdshader-lsp failed. Error: spawn c:\Users\felix\.vscode\extensions\godofavacyn.gdshader-lsp-1.0.7\server\gdshader-lsp ENOENT

I tried to fix this issue by:

After a little bit of digging in the extension code, it does seems like there are errors in the binary file provided, as the extension throws an error while trying to start the server. Unfortunately, I am not experienced enough in LSPs, let alone Rust to be able to debug this issue further.

Here is my VSCode version info if it can help.

Version: 1.89.0 (user setup)
Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
Date: 2024-05-01T02:09:22.859Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Hope you can fix this issue soon without too much problems, Cheers!

GodOfAvacyn commented 1 month ago

A few people emailed & I think it's an os issue - are you on windows or mac?

On May 8, 2024 11:50:43 AM PDT, "Félix Gagné Cliche" @.***> wrote:

Hi there, I tried installing the VSCode plugin and got the following error:

Language Server Example client: couldn't create connection to server.
Launching server using command c:\Users\felix\.vscode\extensions\godofavacyn.gdshader-lsp-1.0.7\server\gdshader-lsp failed. Error: spawn c:\Users\felix\.vscode\extensions\godofavacyn.gdshader-lsp-1.0.7\server\gdshader-lsp ENOENT

I tried to fix this issue by:

  • Reinstalling the plugin
  • Clean installing VSCode
  • Create a new profile with only this plugin installed
  • Cloning the repository and copy/pasting it in the extensions directory

Here is my VSCode version info if it can help.

Version: 1.89.0 (user setup)
Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
Date: 2024-05-01T02:09:22.859Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Hope you can fix this issue soon without too much problems, Cheers!

-- Reply to this email directly or view it on GitHub: https://github.com/GodOfAvacyn/gdshader-lsp/issues/2 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

GodOfAvacyn commented 1 month ago

nevermind, just saw your specs. I'll get back to you.

On May 8, 2024 11:50:43 AM PDT, "Félix Gagné Cliche" @.***> wrote:

Hi there, I tried installing the VSCode plugin and got the following error:

Language Server Example client: couldn't create connection to server.
Launching server using command c:\Users\felix\.vscode\extensions\godofavacyn.gdshader-lsp-1.0.7\server\gdshader-lsp failed. Error: spawn c:\Users\felix\.vscode\extensions\godofavacyn.gdshader-lsp-1.0.7\server\gdshader-lsp ENOENT

I tried to fix this issue by:

  • Reinstalling the plugin
  • Clean installing VSCode
  • Create a new profile with only this plugin installed
  • Cloning the repository and copy/pasting it in the extensions directory

Here is my VSCode version info if it can help.

Version: 1.89.0 (user setup)
Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
Date: 2024-05-01T02:09:22.859Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Hope you can fix this issue soon without too much problems, Cheers!

-- Reply to this email directly or view it on GitHub: https://github.com/GodOfAvacyn/gdshader-lsp/issues/2 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

rmarinn commented 1 month ago

Hello, I am also having the same issue... Here is my VSCode version info... I guess it's a windows issue?

Version: 1.89.1 (user setup)
Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:13:33.891Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631
DanyMotilla commented 3 weeks ago

Hii !! any updates on this?

GodOfAvacyn commented 2 weeks ago

Hii !! any updates on this?

Hey Dany, thanks for your patience and sorry I haven't replied here - I just finished up grad school and now have the time to do a full rewrite of everything. Give me a week or two and the new bersion should be published. That one should work 100% on all OS's.