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 package" errors stutter on package name #46274

bcmills opened this issue May 19, 2021 · 0 comments


Copy link

@bcmills bcmills commented May 19, 2021

$ go mod tidy
go: finding module for package imports cannot find module providing package no modules on

-- go.mod --

go 1.17
-- pkg/example.go --
package example

import _ ""

This error message is suboptimal: it gives a package import stack ending with, but then includes the redundant substring package in the error message.

CC @jayconrod @matloob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant