alexzorin/authy

Can't install using go (go.mod contains one or more replace directives...)

josiasdx opened this issue · 2 comments

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.

Solved:

  1. downloading it manually
  2. "go install"
  3. C:\Users\user\go\pkg\mod\github.com\alexzorin\authy@v0.4.0\cmd\authy-export
    and executing "go run authy-export.go"

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.