This repository was archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
ensure Solve(): No versions of honnef.co/go/tools met constraints #1263
Labels
Comments
You can only require a package that has actual Go code. Try |
@ibrasho I also have same problem on github.com/selvatico/go-mocket. Go: The go-mocket pakcage has Go code in it root path. Full outputs:
Gopkg.tml file:
|
Did you solve this issue (based on #1285)? |
i think so, yeah - gonna close this (optimistically) |
Sorry, was on vacation this past week. That fixed it indeed, thanks :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Go:
go version go1.9.1 darwin/amd64
OS:
Mac OS X 10.12.6
What I did:
dep ensure -v
What I expected to see:
honnef.co/go/tools
files should be downloaded tovendor
directoryWhat I saw instead:
master: Could not introduce honnef.co/go/tools@master, as its subpackage honnef.co/go/tools does not contain usable Go code (*build.NoGoError).. (Package is required by (root).)
Full command line output:
Gopkg.tml
file:Note that the project where I ran
dep ensure
does not have anygo
source code, and is only used to get the above vendored files (which are then used in a base Docker image).The text was updated successfully, but these errors were encountered: