Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: cannot find module providing a package #27907

jclc opened this issue Sep 27, 2018 · 1 comment


None yet
1 participant
Copy link

commented Sep 27, 2018

What version of Go are you using (go version)?


Does this issue reproduce with the latest release?


What operating system and processor architecture are you using (go env)?


What did you do?

Tried importing and using the package in a project.

What did you expect to see?

Go downloading the package, adding the repository to go.mod and building the executable.

What did you see instead?

$ go run .
go: finding latest
go: finding latest
go: finding latest
phys/phys.go:4:2: unknown import path "": cannot find module providing package

Go does add the repository to go.mod as:

require ( v0.0.0-20180804195959-cdf14b6b8f8a

but it is not found when building.


This comment has been minimized.

Copy link

commented Sep 27, 2018

Very strange. Resetting the wireless connection fixed this. Looks like this was a network issue rather than a Go issue.

@jclc jclc closed this Sep 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.