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
cmd/go: go mod vendor looking for AUTHORS in root #31524
Comments
@masterada A quick test just now did not reproduce this using go1.12.4. Do you happen to have a public repository where this is reproducible? Alternatively, would you be able to supply a more complete set of steps to reproduce from scratch? For example, if you start with |
Seems like the issue only appeary if GOPATH is a direct child of GOROOT, eg:
Any other setup ( Not sure if it's reproducible on other OS. I can live with moving my GOPATH, altough it's a bit painful. |
I am pretty sure that is not supported. Mind you, the error message of
is not very helpful. Alex |
@masterada - Putting GOPATH under GOROOT is definitely something not recommended as is evident from here - https://golang.org/doc/code.html#GOPATH. I would request you to move GOPATH to somewhere else. Is there anything else you want to be done in this issue ? |
I have long moved GOPATH since then, and it works fine. A better error message would be helpful, but otherwise it's working as expected. |
Thanks. Please feel free to open a separate issue for the error message. I will close this. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
successfully creating vendor directory with dependencies
What did you see instead?
The text was updated successfully, but these errors were encountered: