x/tools/gopls: fail to recover from deletion of go.mod file #40487
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
I deleted a
go.mod
file in a directory inside of GOPATH and got the following error message:[Trace - 01:33:15.594 AM] Received notification 'window/logMessage'. Params: {"type":1,"message":"2020/07/30 01:33:15 The code in the workspace failed to compile (see the error message below).\nIf you believe this is a mistake, please file an issue: https://github.com/golang/go/issues/new.: stat /Users/rstambler/code/src/foo/go.mod: no such file or directory\n\tsnapshot=9\n\tdirectory=file:///Users/rstambler/code/src/foo\n"}
The text was updated successfully, but these errors were encountered: