Open bighunter513 opened 2 years ago
The last version to work for me:
go install github.com/derailed/k9s@v0.25.2
This commit introduced the replace
in go.mod
.
Installing the latest version from the main/master branch fails:
$ GOPROXY="" go install github.com/derailed/k9s@latest
go: downloading github.com/derailed/k9s v0.25.18
go install: github.com/derailed/k9s@latest (in github.com/derailed/k9s@v0.25.18):
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.
Can we get this fixed at all?
@derailed is the replace in the go.mod file 100% necessary?
Would a comment and updating the requires work? Could a workspace file solve this?
Last successful version to install via go install
was v0.26.2
The newer versions started to include replace directive
replace github.com/gdamore/tcell/v2 => github.com/derailed/tcell/v2 v2.3.1-rc.2
Thank you all for piping in!! This is tricky because of the deltas in the upstream deps hence workspace sadly won't solve it for us ;(. I think I'll have a fix in the next drop...
Describe the bug when I use go install github.com/derailed/k9s@latest it failed with: go install: github.com/derailed/k9s@latest (in github.com/derailed/k9s@v0.25.18): 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.
To Reproduce Steps to reproduce the behavior:
Expected behavior install ok
Versions (please complete the following information):