Running go install github.com/atotto/packagecloud@latest results in the following error:
go: downloading github.com/atotto/packagecloud v0.2.0
go: github.com/atotto/packagecloud@latest (in github.com/atotto/packagecloud@v0.2.0):
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.
It appears to be related to this line:
|
replace github.com/atotto/packagecloud => ./ |
Running
go install github.com/atotto/packagecloud@latestresults in the following error:It appears to be related to this line:
packagecloud/go.mod
Line 11 in 625a25d