-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: cannot find main module root; see 'go help modules' #26639
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
You need to create a |
i don't think the |
Change https://golang.org/cl/126655 mentions this issue: |
Even with the fix, using go1.11rc1 I'm seeing the error |
Seeing a similar error message with GO111MODULE=on. Does it mean that go-outline is missing a go.mod ? That would create a backward compatibility problem. Nearly all (probably all) packages I use with visual studio code fail to install because of such error. |
I am getting this error too |
We do not discuss on closed issues. Looks like you are hitting #27380. If you think it is a new error, please open a new issue. Thank you. |
Delete GO111MODULE=on, and work fine |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: