-
Notifications
You must be signed in to change notification settings - Fork 201
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
EINVAL, Couldn't create connection to server when using vscode extension #7231
Comments
I've been chatting about this in the Discord thread, but I was able to get this working with the In Windows there appears to be a security restriction that, without the option, node will error with I hacked the installed plugin to add the option and the wing extension worked:
That being said, I have no idea in what repo or file this change would need to be made, or how you'd want to identify when that option needs to be added. |
Thanks for your help, that seems like the issue. Gonna keep the issue up until this gets merged (hopefully soon). I'm also not sure how this should be added, but the effective file is here. Manually changing it should be fine as a temporary fix. |
The affected code seems to belongs to https://github.com/microsoft/vscode-languageserver-node, more specifically here. I believe we can configure the shell option without altering the original source. Will keep you posted. |
Define `shell: true` in the options used to spawn the language server. Fixes #7231.
Congrats! 🚀 This was released in Wing 0.85.41. |
Still an issue. |
The vscode extension v0.85.44 now includes the fix suggested by @ofiesh. I'd appreciate if you could try it again 🙏🏻 |
I tried this:
I am trying to use the vscode extension for wing, but it immediately crashes.
I have already tried:
pnpm
andnpm
Running
wing lsp
doesn't throw any errors, but also doesn't print anything (not sure if this is intended)This happened:
Here is the vscode logs:
I expected this:
No response
Is there a workaround?
No response
Anything else?
No response
Wing Version
0.85.35
Node.js Version
v20.16.0
Platform(s)
Windows
Community Notes
The text was updated successfully, but these errors were encountered: