kubernetes make error:touch: _output/bin/prerelease-lifecycl


➜  kubernetes git:(master) make generated_files
+++ [0121 20:12:36] Building go targets for darwin/amd64:
./vendor/k8s.io/code-generator/cmd/prerelease-lifecycle-gen
touch: _output/bin/prerelease-lifecycle-gen: No such file or directory
make[1]: *** [_output/bin/prerelease-lifecycle-gen] Error 1
make: *** [generated_files] Error 2
➜  kubernetes git:(master) pwd
$GOPATH/src/kubernetes
➜  kubernetes git:(master) go version
go version go1.15.3 darwin/amd64

因为我想测试src,但无论我执行make或make all或make generated_files,它总是报告错误

简短回答:go env -w GOBIN=

k8s将安装二进制文件到GOBIN,如果它不是空的,但是k8s试图在_output/bin

下找到prerelease-lifecycle-gen。

相关内容

  • 没有找到相关文章

最新更新