-
Notifications
You must be signed in to change notification settings - Fork 1k
Dep ensure not installing the dependencies in Gopkg.toml #1378
Comments
hi, welcome! sorry you ran into this. this is a bit odd. could you provide the output of |
dep hash-inputs ruby-2.2.0@helpkit -CONSTRAINTS- github.com/braintree/manners svc-^0.4.0 github.com/cihub/seelog svc-~2.6.0 github.com/dgrijalva/jwt-go svc-~3.1.0 github.com/go-redis/redis svc-~6.7.3 github.com/gocql/gocql r-33a5f3c1bcc2c421b3221c5858312afb141bf605 github.com/hashicorp/golang-lru r-0a025b7e63adc15a622f29b0b2c4c3848243bbf6 github.com/julienschmidt/httprouter svc-~1.1.0 github.com/orcaman/concurrent-map r-d4c23bd0e01134806215ffe65ba3fd22ec6721f7 github.com/urfave/negroni svc-^0.3.0 github.com/vmihailenco/msgpack svc-~3.2.0 -IMPORTS/REQS- github.com/braintree/manners github.com/cihub/seelog github.com/dgrijalva/jwt-go github.com/go-redis/redis github.com/gocql/gocql github.com/hashicorp/golang-lru github.com/julienschmidt/httprouter github.com/orcaman/concurrent-map github.com/spf13/viper github.com/urfave/negroni github.com/vmihailenco/msgpack -IGNORES- -OVERRIDES- -ANALYZER- dep 1 |
Its weird. I see the package now after running dep hash-inputs. |
hmm, are you able to reproduce the original problem from scratch? |
No. I'm unable to reproduce it now. Will close this for now. Thanks |
I am facing the same issue.
In Homebrew the version of dep is 0.3.2
The package |
So I start to see the package too after few minutes. Maybe the package is just taking time to get downloaded? Does ensure not wait until the download is over? |
@vaibhav-sinha dep is pretty powerful, but it's not magical enough to do things when the process isn't running 😄 if you still have the terminal history, that'd help to figure out how you ran into this. the only known hole through which this should be able to occur is if you manually delete something out of your we've chosen to leave that hole in place temporarily while we work on #121, because the alternative would entail absolutely always unconditionally repopulating |
I ran into a similar issue and found that deleting my vendor directory and running 'dep ensure' retrieved the missing package. Unfortunately I don't have steps to reproduce. I've run into the issue before and will be more diligent recording the steps next time. Otherwise solid tool, very grateful to the devs/maintainers! |
I faced the same issue. Deleting the vendor directory and then running dep ensure worked but I'm not sure what caused it. |
What version of
dep
are you using (dep version
)?What
dep
command did you run?dep ensure
I did a dep ensure -add without actually importing the package in my code. It threw a warning saying the package would be removed if I did a dep ensure without importing the package.
I imported the package in my code and ran dep ensure again.
dep status says it has the package installed. But the package is missing in the vendor directory.
The text was updated successfully, but these errors were encountered: