dive
dive copied to clipboard
Critical Failure Because of Replace Directives
Installation fails because of incorrect usage of the replace directive. for go 1.16.4.
go install github.com/wagoodman/dive@latest: github.com/wagoodman/[email protected]
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.
r
confirming this is still present
Bump. Getting the same issue.
Bump^2 ... still need to git clone
and then go install .
.
Bump^3. Still the same.
Common workaround is still:
git clone https://github.com/wagoodman/dive
cd dive/
go install .
The weird thing is, at first glance, I didn't find the go.mod
files with replace
directive among the deps, but I found a few projects (of last or referenced version) without go.mod
file at all, though I don't know if that can trigger that kind of error.
Go's main discussion: https://github.com/golang/go/issues/44840