-
Notifications
You must be signed in to change notification settings - Fork 81
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
执行时报错 #15
Comments
看看 go.mod go.sum 有没有被修改,确保没有被修改,再 build 或者 run 。 |
确认没有改动,需要将go.mod 贴上来吗?go 1.13.6 |
git status 查看文件有没有被修改。 |
是的,我查过了,后来用重新clone 一次,仍然这样。 |
有没有使用 go mod, 还是放在 GOPATH 下的 |
使用go mod ,我刚才还删除了原来的mod 文件,重新init 一次, 仍然有这个问题。go mod 我一直在用,是可以使用的。 |
应该是 go mod 的问题 github.com/gogo/[email protected]: invalid pseudo-version: revision is shorter than canonical (65acae22fc9d) 我这边不会有问题。 你尝试删除 $HOME/go/pkg/mod 下所有文件,再试试看看 |
go build -o ../build/microGW main.go
go: github.com/micro/[email protected] requires
k8s.io/[email protected] requires
github.com/gogo/[email protected]: invalid pseudo-version: revision is shorter than canonical (65acae22fc9d)
这个错误,我该如何解决?谢谢
The text was updated successfully, but these errors were encountered: