Closed ghost closed 3 years ago
Somthing may help: https://github.com/golang/dep/issues/2055
Here meet the same problem.
$ go get -u github.com/golang/dep/cmd/dep
go: finding golang.org/x/sync latest
go: finding github.com/sdboyer/constext latest
go: finding github.com/nightlyone/lockfile latest
go: finding golang.org/x/sys latest
# github.com/golang/dep/gps
../../pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:149:4: undefined: semver.Constraint
Here meet the same problem.
$ go get -u github.com/golang/dep/cmd/dep go: finding golang.org/x/sync latest go: finding github.com/sdboyer/constext latest go: finding github.com/nightlyone/lockfile latest go: finding golang.org/x/sys latest # github.com/golang/dep/gps ../../pkg/mod/github.com/golang/dep@v0.5.4/gps/constraint.go:149:4: undefined: semver.Constraint
solve this problem with using proxychains
proxychains curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
I too was having the problem, so I did:
$ go env -w GO111MODULE=off
to turn off Go Modules, before installing dep:
$ go get -u github.com/golang/dep
Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!
Hi,
Hope you are all well !
While trying to "go get -u github.com/golang/dep/cmd/dep" in an alpine based docker container, I have the following error (last line):
Is there any issue with the package ?
Cheers, X.