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
Environment configuration error #36594
Comments
Since this is on Windows, you can edit the environment variables as described here for GOPATH: |
I'm so sorry,I also encountered this problem using ubuntu 16:04,Also, I restarted the cmd window, but the problem persists。 |
Thanks for the report. You hit #34880, which was recently fixed (fix will be included in go1.14). The problem is that if you set a bad GO111MODULE with go env -w, the go command itself becomes unusable. In the meantime, you could try this: First, manually set GO111MODULE to a correct value from the terminal, for example in powershell; that should temporarily fix
and then:
Does that work? |
Thank you for your reply, I have solved this problem by manually configuring the environment variables |
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?windows and ubuntu16:04
go env
OutputI want to set GO111MODULE = auto,But I wrote auto as AUTO
then
I don't know how can I reset GO111MODULE.
The text was updated successfully, but these errors were encountered: