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: panic when running "go mod vendor" on tip #46659
Comments
So I had the dependencies wrong. I was looking at the go.mod (and replace directives) for Terraform v0.15.3 (or possibly earlier) when I ran Still, it doesn't seem like Go should be panicking during normal operation. When I run the command with Go 1.16, I get an infinite loop:
|
can you share the contents of |
(I'm going to try to fix this by the 1.17 final, but since it infinite-loops on 1.16 it's not a release blocker.) |
@kevinburkemeter, could you give a bit more detail about the relevant |
Gah, yeah, I'm sorry, I thought I pasted the go.mod file but clearly I didn't. One second. |
I've updated the issue description with the go.mod file that reproduces the panic |
Thanks. This reproduces easily running
|
|
Change https://golang.org/cl/330432 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Added the following to
go.mod
and ran "go mod vendor && go mod tidy"What did you expect to see?
All of the packages placed in the vendor directory
What did you see instead?
The text was updated successfully, but these errors were encountered: