shapeshifter-dispatcher
shapeshifter-dispatcher copied to clipboard
go install failing due to go.mod version mismatch?
Is there any other way to install this via go install? (I'm on macOS 13.2.1 + go1.20.2 darwin/arm64)
I found https://github.com/golang/go/issues/35732 which seems to be related, but I'm not clear what needs to be changed to "fix" it.
$ go install github.com/OperatorFoundation/[email protected]
go: github.com/OperatorFoundation/[email protected]: github.com/OperatorFoundation/[email protected]: invalid version: module contains a go.mod file, so module path must match major version ("github.com/OperatorFoundation/shapeshifter-dispatcher/v3")
$ go install github.com/OperatorFoundation/shapeshifter-dispatcher@latest
go: downloading github.com/OperatorFoundation/shapeshifter-dispatcher v2.1.5+incompatible
go: github.com/OperatorFoundation/shapeshifter-dispatcher@latest: module github.com/OperatorFoundation/shapeshifter-dispatcher@latest found (v2.1.5+incompatible), but does not contain package github.com/OperatorFoundation/shapeshifter-dispatcher
It seems that there is currently no way to install the project via go install. I recommend using git clone to install the project and then using go install from the project's directory. I just tested this method and it worked fine! Let me know if I can provide any additional info.
Yes git clone method works, I was just wondering if I was doing something wrong.