-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Can't go get cli cobra #1348
Comments
Temp workaround seems to work for me, may be master has the fix? From a checkout of this repo, run |
I am having the same issue, and the workaround mentioned in #1345 doesn't work for me, I get: This is on go1.15.6 |
I was unable to recreate the issues you are facing. When you set the GO111MODULE, how are you doing so? This is the output I am seeing when using the same workflow you stated above
|
@cemery-tibco Try lowercase
|
I was unable to install cobra cli as well, with no errors or warnings. It seemed to run to completion but without actually installing the cobra binary. After going into the actual cobra source code downloaded and trying to manually make it there, there were two things I had to install to get it to work (which came from the make logs):
and After doing both of those, I was able to just do the cobra install as per the instructions and it worked. |
@greenenergy 's solution did not change anything for me Where does go get its environment variables anyway? I did set the environment variables with
|
I just noticed that while getting the errors mentioned above on go version 1.10.4 I did not get them on go version 1.16.2 |
I can confirm that upgrading from go 1.15 -> 1.16.2 fixed the issue for me |
I'm having the same problem with Go 1.16.2 |
I ran into the same issue, but migrating to Go Modules as described here hashicorp/hcl#449 (comment) helped me |
I got the same issue in the build checks.. Ref to err https://github.com/spf13/cobra/runs/2394764837?check_suite_focus=true |
This issue is being marked as stale due to a long period of inactivity |
For now I will close based in suggestion in #1393 , but if this happens again to someone please reopen |
Closing.
and installing the |
Go Get in module mode is deprecated. You'll need to use something like |
I had to use |
This was previously reported in #1345 by someone else, but was closed with no comment. It is easily reproducible:
The text was updated successfully, but these errors were encountered: