derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
27.33k stars 1.71k forks source link

error when use go install #1823

Open jasenyoung opened 2 years ago

jasenyoung commented 2 years ago




Describe the bug when I use "go install" to install k9s, there a following error because there is a "replace" in the go.mod:

The go.mod file for the module providing named packages contains one or more replace directives. It must not contain directives that would cause it to be interpreted differently than if it were the main module.

mcandeia commented 2 years ago

same here, I had to install a 3-months older version: go install github.com/derailed/k9s@a661221f0838b6ad6d3dd45745e7118311748d3f

nikooo777 commented 1 year ago

any news?

2rs2ts commented 1 year ago

Seems to be a dupe of #1484, and also seems to be something that comes and goes as they change the go.mod file. FWIW, go install github.com/derailed/k9s@v0.26.2 works for me and other users, since that version did not have the problem in its go.mod file.