cmd/go: project depending on project using modules not building: "error loading module requirements" #31929
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I have a project "a", which uses modules, that has dependency on code that is another project "b" which uses modules.
go.mod line # 1 in project "b":
module <private_gitlab_repo>/<group>/<subgroup>/<project "b" name>
import statement in project "a":
"<private_gitlab_repo>/<group>/<subgroup>/<project "b" name>.git/internal/parser"
What did you expect to see?
go build should complete correctly
What did you see instead?
go: <private_gitlab_repo>/<group>/<subgroup>/<project "b" name>.git@v0.0.0-20190508223317-420ea8aa2597: parsing go.mod: unexpected module path "<private_gitlab_repo>/<group>/<subgroup>/<project "b" name>" go: error loading module requirements
What am I doing wrong ?
The text was updated successfully, but these errors were encountered: