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
Our repo has a /setup script that installs requirements, one of which is overmind (go install github.com/DarthSim/overmind/v2@latest). It runs this within our repo. This worked fine until the replace directive was added into overmind's go.mod: https://github.com/DarthSim/overmind/blob/master/go.mod#L20
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/v2@v2.5.0):
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.
We are on go version 1.22.1, btw
The text was updated successfully, but these errors were encountered:
jasondborneman
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.
Mar 25, 2024
Envek
added a commit
to Envek/godotenv
that referenced
this issue
Mar 26, 2024
Our repo has a
/setup
script that installs requirements, one of which isovermind
(go install github.com/DarthSim/overmind/v2@latest
). It runs this within our repo. This worked fine until the replace directive was added intoovermind
'sgo.mod
: https://github.com/DarthSim/overmind/blob/master/go.mod#L20Now when trying to run our setup it bombs out when reaching the
overmind
install step with the following error:In fact, I tried running
go install github.com/DarthSim/overmind/v2@latest
even outside our repo and still get that same error.We are on go version
1.22.1
, btwThe text was updated successfully, but these errors were encountered: