-
Notifications
You must be signed in to change notification settings - Fork 214
EINVAL, Couldn't create connection to server when using vscode extension #7231
Copy link
Copy link
Closed
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
I tried this:
I am trying to use the vscode extension for wing, but it immediately crashes.
I have already tried:
- Installing 0.85.34 (winglang)
- Installing previous versions of the extension
- Installing on IntelliJ (also crashed)
- Installing winglang with
pnpmandnpm - Manually setting path in extension settings
- Running on multiple windows devices
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:
Wing Language Server client: couldn't create connection to server.
Error: spawn EINVAL
at ChildProcess.spawn (node:internal/child_process:420:11)
at Object.spawn (node:child_process:796:9)
at c:\Users\username\.vscode\extensions\monada.vscode-wing-0.85.33\lib\extension.js:17778:40
at async LanguageClient2.createConnection (c:\Users\username\.vscode\extensions\monada.vscode-wing-0.85.33\lib\extension.js:15795:28)
at async LanguageClient2.start (c:\Users\username\.vscode\extensions\monada.vscode-wing-0.85.33\lib\extension.js:15371:30)
at async LanguageServerManager.start (c:\Users\username\.vscode\extensions\monada.vscode-wing-0.85.33\lib\extension.js:18109:5)
at async wingBinChanged (c:\Users\username\.vscode\extensions\monada.vscode-wing-0.85.33\lib\extension.js:18209:9)
at async activate (c:\Users\username\.vscode\extensions\monada.vscode-wing-0.85.33\lib\extension.js:18242:3)
at async K0.n (file:///c:/Users/username/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4447)
at async K0.m (file:///c:/Users/username/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:4410)
at async K0.l (file:///c:/Users/username/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:115:3866)
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
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working