Cannot build from source

flyctl.exe: can't install github.com/superfly/flyctl:
go: downloading github.com/superfly/flyctl v0.4.27
go: github.com/superfly/flyctl@latest (in github.com/superfly/flyctl@v0.4.27):
        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.

What did you do to cause this message? If you typed a command, please supply it exactly.

`go install github.com/superfly/flyctl@latest`

Are you especially needing to install it via Go? The instructions in the README don’t list that as a valid install method. Use Brew, Powershell, or curl, depending on your OS.

Ah yes, your title did say that you want to build from source. I just asked AI; it says that your method won’t work, and that you should use make build instead.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.