You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error when running go install github.com/DarthSim/overmind/v2@latest w/in a repo that uses it. #177
Now when trying to run our setup it bombs out when reaching the overmind install step with the following error:
go: github.com/DarthSim/overmind/v2@latest (in github.com/DarthSim/overmind/[email protected]):
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.
In fact, I tried running go install github.com/DarthSim/overmind/v2@latest even outside our repo and still get that same error.
changed the title [-]Error when running `go install github.com/vektra/mockery/v2@latest` w/in a repo that uses it.[/-][+]Error when running `go install github.com/DarthSim/overmind/v2@latest` w/in a repo that uses it.[/+]on Mar 25, 2024
Activity
[-]Error when running `go install github.com/vektra/mockery/v2@latest` w/in a repo that uses it.[/-][+]Error when running `go install github.com/DarthSim/overmind/v2@latest` w/in a repo that uses it.[/+]REVERTME: rename forked module to avoid using replace directive in go…
2.5.1: Fix installation via `go install` command
Envek commentedon Mar 26, 2024
This golang limitation is freaking me out: golang/go#44840
But anyway, removed replace directive and tagged 2.5.1 so it should work now, thanks for reporting.
jasondborneman commentedon Mar 26, 2024
Can confirm this fixed our issue. Thanks! 🎉