Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGO111MODULE=on go get -v github.com/google/ko/cmd/ko failed #175
Comments
|
I can install it without |
|
I think this happens if you try to run this from within an existing go module, since it just adds it to the existing package as a dependency? I'm not sure if the It looks like that was added so that the version info works even if you're installing via We might just need to add better instructions. |
|
same:
|
|
OK, it worked after doing and than running: GO111MODULE=on go get github.com/google/ko/cmd/ko |
|
Please let me know if this approach works. I fixed a similar installation problem by:
|
|
I tried ALL of the suggestions in the previous comments. I still can't get ko installed. I get |
@aavarghese Is |
|
@stanleynguyen thanks for the response. So finally fixed it yesterday. My $PATH had $GOPATH/bin, but my issues was that my $GOBIN was set to the wrong directory (which wasn't in $PATH). KO works for me after fixing that env var. |

What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env)?go envOutputWhat did you do?
What did you expect to see?
What did you see instead?