Closed hpandeycodeit closed 5 years ago
This issue is caused by go modules.
You need to set GO111MODULE=on
to use go modules when in GOPATH.
Feel free to send a PR to update the contributor guide :)
You need to set it until go 1.13 is out this July. Go modules will be on by default in go 1.13
Description:
When running
go build -o /output/path/kubebuilder ./cmd
it doesn't download the required API's automatically under github.com (if running from $GOPATH) and throws the following errors:One has to manually download these dependencies under
/go/src/github.com
:It complained about the following missing dependencies that I had to download manually to get it working:
If this is a manual step, can we modify the doc to include the above steps?
/kind bug