You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
As the title says, I'm having trouble compiling the go binary by running:
$ CGO_ENABLED=0 GOOS=linux GO11MODULE=on go build -mod=vendor -a .
vendor/k8s.io/client-go/discovery/discovery_client.go:31:2: cannot find package "."
I'm using Golang 1.17 and building the latest 0.11 version. I have seen the same error in the GitHub CI, so I'm inclined to believe there is an issue in the released files.
Thanks in advance,
Francisco de Paz
The text was updated successfully, but these errors were encountered:
@FraPazGal I got similar issues with errors in the GitHub CI. The reason is caused by git doesn't detect folder name change. you can fix this by follow this or if you just clone the repo, just remove vendor folder and run go mod vendor
That was a nice solution @petchumpriwan, thanks for the help! I suppose the vendor folder was not updated before the release and that is the cause of the issue.
I think it was caused by owner git setting being somehow has been set to case-insensitive, so it did not see that OpenAPIv2 folder is changed to all lowercase in the newer version, then it's break the building process
Hello all,
As the title says, I'm having trouble compiling the go binary by running:
I'm using Golang
1.17
and building the latest0.11
version. I have seen the same error in the GitHub CI, so I'm inclined to believe there is an issue in the released files.Thanks in advance,
Francisco de Paz
The text was updated successfully, but these errors were encountered: