cmd/go: go build does not show that git (?) is not installed, instead shows general "cannot find module for path " #29891
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
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?
When you try to enable modules and use go.mod
when you try to run the quick example from https://github.com/golang/go/wiki/Modules
you get
build github.com/you/hello: cannot find module for path rsc.io/quote
BTW error happens does not matter what modules you try to import. Just decided to give simplest example.
What did you expect to see?
you should see clear error that GitHub is not installed on your system.
What did you see instead?
build github.com/you/hello: cannot find module for path rsc.io/quote
which is quite confusing and general error...
Same can be reproduces on Windows as well.
The text was updated successfully, but these errors were encountered: