Can't install using go (go.mod contains one or more replace directives...)
josiasdx opened this issue · 2 comments
josiasdx commented
When use:
go install github.com/alexzorin/authy/cmd/authy-export@latest
I receive the message:
"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." and it is not installed.
josiasdx commented
Solved:
- downloading it manually
- "go install"
- C:\Users\user\go\pkg\mod\github.com\alexzorin\authy@v0.4.0\cmd\authy-export
and executing "go run authy-export.go"
alexzorin commented
Sorry, it's this silly public Go proxy that is caching the old submodule, even though I removed it ages ago. I updated the README with a slightly different command to avoid it.