-
Notifications
You must be signed in to change notification settings - Fork 351
Dep ensure failing for survey #229
Comments
related: #230 |
my bad, I jumped into conclusions as |
No worries! Just wanted to make sure I wasn't missing anything. I'm not quite sure what is going on with dep here @vermdeep. Can you make a small repo that reproduces this issue so I can take a look? |
By default, dep is picking up v1.8.5. When I am running
I am using
|
Any luck with this @vermdeep? I'm not familiar enough with |
Actually, the issue here is that v2 directory is not present in your repo, yet you are using github.com/AlecAivazis/survey/v2/core in many places. I am not sure how it is working for others, but locally I am copying |
That's how gomodules work - the path underneath the package name is for major versions. You can see more here. That's why I was saying it's on |
Whoops wrong button! But it sounds like you have a solution that works for now and the problem is part of a wider issue in dep on how to support go modules. Sorry i couldn't be more help! |
Thanks for the help 👍, will checkout if there is a way to support go modules in dep, Will update here once I find a solution. |
ah! I also faced the same issue when I tried updating to latest v2 version, here is my analysis why it is happening. I tried all the possible way to fix it via There is PR hanging our there in the The only option I'm left with is to start using |
I have the following constraint in Gopkg.toml
Dep ensure with the above constraint is failing with error:
After ignoring the pkg
github.com/AlecAivazis/survey/v2/core
in dep, build is failing with the following error:The text was updated successfully, but these errors were encountered: