Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

dep init fails with prepare solver: at least one package must be present in the PackageTree #683

Closed
mildred opened this issue May 31, 2017 · 1 comment

Comments

@mildred
Copy link

mildred commented May 31, 2017

Running dep init on a repository fails with:

Searching GOPATH for projects...
prepare solver: at least one package must be present in the PackageTree

The error message should be a little more detailed.

the GOPATH contains /home/mildred/Projects/go:WORKDIR/aws-config-elbv2+/gopath. All the needed dependencies are located in /home/mildred/Projects/go while WORKDIR/aws-config-elbv2+/gopath is only containing a symlink WORKDIR/aws-config-elbv2+/gopath/src/github.com/squarescale/aws-config-elbv2 -> WORKDIR/aws-config-elbv2+. The current directory is WORKDIR/aws-config-elbv2+/gopath/src/github.com/squarescale/aws-config-elbv2

@sdboyer
Copy link
Member

sdboyer commented Aug 28, 2017

this message should now be improved by the new handling we have in place for this.

@sdboyer sdboyer closed this as completed Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants