Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode Extension - "oxc client: couldn't create connection to server" after update to 0.9.10 #6382

Closed
Talaar opened this issue Oct 9, 2024 · 3 comments · Fixed by #6384
Closed
Labels
C-bug Category - Bug

Comments

@Talaar
Copy link

Talaar commented Oct 9, 2024

After updating the vscode ext. i'll get connection erros and oxc linting stops.
In 0.9.9 still works.

[Error - 12:01:39 PM] oxc client: couldn't create connection to server.
Launching server using command ...\node_modules\.bin\oxc_language_server failed. Error: spawn ...\node_modules\.bin\oxc_language_server ENOENT

OS: Win11
Package manager: pnpm

@Talaar Talaar added the C-bug Category - Bug label Oct 9, 2024
@shulaoda
Copy link
Contributor

shulaoda commented Oct 9, 2024

Are you opening a single project?

@Talaar
Copy link
Author

Talaar commented Oct 9, 2024

Both single and mono repo

@shulaoda
Copy link
Contributor

shulaoda commented Oct 9, 2024

It seems to be a regression issue caused by issue #3426, which must be an .exe file on Windows. We need a better way to support oxc_language_derver.

Boshen pushed a commit that referenced this issue Oct 9, 2024
…indows (#6384)

closes #6382 

It seems we cannot support `oxc_language_server` by directly reusing
code from `coc-oxc`, at least not on Windows, because it requires an
`.exe` executable.

I will take some time to study the implementation of `Biome` to enhance
our vscode plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category - Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants