LSP not working on Golang: Async job failed: protocol error: ServerError(0): no packages #8723
-
SummaryHello, when I try to use the LSP on Helix with Go, I'm getting an error that says I've tried erasing the Reproduction StepsI tried this:
I expected this to happen: Instead, this happened: Helix log~/.cache/helix/helix.log
PlatformLinux (Ubuntu 20.04 Focal) Terminal EmulatorGnome Terminal Installation Methodapt Helix Versionhelix 23.10 (f6021dd) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
this error message means that the go LS crashed/exited due to an error. I don't see anything in the logs that would indicate a bug on our side. You should check whether gopls is up to date and if it is report that to gopls |
Beta Was this translation helpful? Give feedback.
-
go mod tidy 我也遇到了同样的问题,使用这两条命令后,正常运行 |
Beta Was this translation helpful? Give feedback.
Hello, thanks for your response.
The problem was indeed gopls not being up to date.