Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/go: poor error message from 'go build -mod=vendor' when passing an absolute package path instead of a relative one #38748
The error message from the first
The error message from
@bcmills We came across a similar error message in Kubernetes, though I'm not too sure if it's due to the same reason as mentioned in the issue body.
With go 1.14.4:
With go 1.13.12:
@nikhita Can confirm, that issue is closely related.
This error is shown when vendor mode is enabled and a package that's not present in the vendor directory is needed. In Go 1.14, vendor mode is enabled when
As a work around, you can import