-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2 bug: (go get github.com\urfave\cli\v2 error ) #957
Comments
I think you are using an old version of go that does not support go modules, so you can remove the v2 bit, but ideally you'd update go, as we'll keep breaking you. |
@cw1997 to super double confirm, can you run |
C:\Users\changweimbp>go version this is my golang version, but this is the latest version....w(゚Д゚)w |
@cw1997 I believe what you need to do is change
to this
can you try that and report back? |
Oh, it run success. The last time I used golang was two years ago and that version is go1.10 so I don't know the new feature about 'Go Module'. |
Thanks for reporting back! Apologies for the minor road bump, I think I'll update the documentation to mention |
This is what I am getting. How to resolve this? |
my urfave/cli version is v2
( Put the version of urfave/cli that you are using here )
Checklist
Packaging Setup
Describe the bug
I can't install and go get the package.
When I run, show this error:
Although I can find these files at %GOPATH%\src\github.com\urfave\cli,
and I use
import "github.com/urfave/cli/v2"
show this error:
To reproduce
Describe the steps or code required to reproduce the behavior
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
If the issue relates to a specific open source Github repo, please link that repo here.
If you can reproduce this issue with a public CI system, please link a failing build here.
Want to fix this yourself?
We'd love to have more contributors on this project! If the fix for this bug is easily explained and very small, free free to create a pull request for it.
Run
go env
and paste its output hereVery Thanks!!
The text was updated successfully, but these errors were encountered: