-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/cmd/gopls: "build cache is required, but could not be located: GOCACHE is not defined and $HOME is not defined" #32238
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
Comments
@23doors Also, Now typing iPhone. might be invalid json syntax, sorry. |
@23doors
It means set Unfortunately, I don't know which is buggy, because I first read gopls source code and first lauch vscode yesterday lol |
Can you provide a |
@stamblerre here it is, redacted file names and removed duplicate messages:
|
Thank you for sharing! I was actually just able to reproduce this error, so I will be investigating it ASAP. |
This should be fixed with https://golang.org/cl/179221. |
What did you do?
Open go file in VSCode configured for using gopls language server.
What did you expect to see?
No errors and working gopls.
What did you see instead?
Error on my package statement:
Build info
Installed gopls through:
This used to work a few days ago so I tested different commits and it seems that:
2c78df6 is the most recent one that works (no errors). And next one: golang/tools@7927dba causes it to break.
Go info
The text was updated successfully, but these errors were encountered: