TypeFox / yang-vscode

A VS Code Extension for YANG
Apache License 2.0
26 stars 10 forks source link

"Couldn't start client Yang Language Server" on windows #95

Open hujun-open opened 3 weeks ago

hujun-open commented 3 weeks ago

Yangster version: 2.3.2 vscode: 1.93.0 OS: windows 11

[Error - 1:53:34 PM] Starting client failed Error: spawn EINVAL at ChildProcess.spawn (node:internal/child_process:421:11) at Object.spawn (node:child_process:800:9) at c:\Users\junhu.vscode\extensions\typefox.yang-vscode-2.3.2\extension\pack\extension.js:1:92428

I tried with openjdk 11, 21, 22, microsoft build openjdk, oracle jdk, same error

but it works fine if use vscode with WSL2 (e.g. open YANG file in WSL), with openjdk 11 installed in WSL2

andre-brizido commented 5 days ago

I have the same problem on windows and with OpenJDK 64-Bit Server VM Microsoft-7208460 (build 11.0.18+10-LTS, mixed mode), VS CODE 1.93.1 latest yangster version available