-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: make the error from 'go get -u' more helpful when the current directory does not contain a package #34079
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
Comments
@rvolosatovs What happens if you try If you do From the Go 1.13 release notes:
The last sentence might be describing what you see. Do you have any |
Adding a I suppose what I encountered is exactly what
entails |
@rvolosatovs @bcmills what would you think about re-opening this as a tracking issue for a friendlier message here? (The current message says |
The error message is indeed very confusing for a user, who does not expect it. |
go now prints:
|
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?
Fails on go 1.13
The project contains both
go.mod
(https://github.com/rvolosatovs/lorawan-stack/blob/ce9328f83312201d231b4183413c969260b5a5a1/go.mod) andgo.sum
(https://github.com/rvolosatovs/lorawan-stack/blob/ce9328f83312201d231b4183413c969260b5a5a1/go.sum)go mod tidy
,go mod download
andgo mod vendor
work fineWhat did you expect to see?
Dependency update
What did you see instead?
The text was updated successfully, but these errors were encountered: