Closed pierrre closed 7 years ago
Problem solved:
There was an empty vendor
directory in /home/pierre/go/src/github.com/<company>/<project>
.
After I remove it, godep works fine.
I didn't see it before, because Git doesn't show empty directory...
@pierrre Thanks that worked for me as well. I was really confused as to where the problem was.
Expected behavior
godep save ./...
used to workActual behavior
I get an error
But directory
$GOPATH/src/github.com/pkg/errors
exists.Steps to reproduce behavior
Update to the latest version of godep. Run
godep save ./...
in a project without vendor. (same problem withgodep update ./...
)godep version
outputgodep v79 (linux/amd64/go1.8.1)
master branchgo version
outputgo version go1.8.1 linux/amd64
Contents of Godeps.json file
doesn't exist
I did a git bisect, and it was working properly with godep v78.