go install fails
prologic opened this issue · 2 comments
prologic commented
See:
$ go install github.com/bcicen/ctop@latest
go: downloading github.com/bcicen/ctop v0.7.6
go install: github.com/bcicen/ctop@latest (in github.com/bcicen/ctop@v0.7.6):
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.
I notice there is a replace directive in the go.mod file. We should not do this. Perhaps let's upgrade the dependency or fix what issue it has upstream? Or fork it.
horseinthesky commented
@bcicen Why is it still says there are replace directives?
> go install github.com/bcicen/ctop@latest
go install: github.com/bcicen/ctop@latest (in github.com/bcicen/ctop@v0.7.7):
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.