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

doesn't work on windows 11 #48

Closed
Midqiu opened this issue Aug 19, 2022 · 1 comment
Closed

doesn't work on windows 11 #48

Midqiu opened this issue Aug 19, 2022 · 1 comment

Comments

@Midqiu
Copy link

Midqiu commented Aug 19, 2022

OS: windows11
time="2022-08-19T17:28:13+08:00" level=info msg="Starting the language server"
time="2022-08-19T17:28:13+08:00" level=info msg="Using tanka mode. Will fall back to the following jpaths: []"
time="2022-08-19T17:28:13+08:00" level=info msg="Initializing jsonnet-language-server version 0.7.2"
time="2022-08-19T17:28:13+08:00" level=info msg="Reading stdlib"
panic: runtime error: index out of range [9] with length 0

goroutine 24 [running]:
github.com/grafana/jsonnet-language-server/pkg/server.(*server).getEvalDiags(0x2020202020202020?, 0xc00012a000)
/home/runner/work/jsonnet-language-server/jsonnet-language-server/pkg/server/diagnostics.go:153 +0x629
github.com/grafana/jsonnet-language-server/pkg/server.(*server).diagnosticsLoop.func1.1.1()
/home/runner/work/jsonnet-language-server/jsonnet-language-server/pkg/server/diagnostics.go:55 +0x2a
created by github.com/grafana/jsonnet-language-server/pkg/server.(*server).diagnosticsLoop.func1.1
/home/runner/work/jsonnet-language-server/jsonnet-language-server/pkg/server/diagnostics.go:54 +0x238
[Info - 17:28:14] Connection to server got closed. Server will restart.

@Midqiu Midqiu changed the title The Jsonnet Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. doesn't work on windows 11 Aug 19, 2022
@julienduchesne
Copy link
Member

This should be fixed in v0.8.0. Let me know if it still occurs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants