-
Notifications
You must be signed in to change notification settings - Fork 34
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
go get failed #25
Comments
cc @nezorflame |
FYI this issue will come up anytime someone does a fresh install of VSCode (as I just did).
|
Yup this issue is still present in the latest version of VSCode and latest go lang version |
uudashr/gopkgs#25 is open to try and fix this. Should rever this change once it is resolved.
I can also reproduce this. Any known workarounds? |
I'm getting the same error.
|
Having the same error here. Installing Go first time.
|
@uudashr I think all that's necessary to fix this is to tag a |
try it in git bash! |
Not sure if it is a workaround, but it seems to get rid of when deploy Go on VSCode, by changing from: |
This is broken for me as well |
@uudashr can you please tag the current |
BTW the proper way to consume the Once we confirm the tag worked, it needs to be used this way in VSCode as well. |
I had the same error on Windows
|
when i can updates about this error? 1 tools failed to install. gopkgs: |
@uudashr reminder about |
Try to run "go get -v github.com/uudashr/gopkgs/cmd/gopkgs" in folder C:\Go\bin using Command Prompt, and VCS should work properly. |
I don't know what going on, but for now it just work. v2.1.2 tag doesn't exist in: https://github.com/uudashr/gopkgs/tags |
Added release v2.1.2, but no luck
|
Oh... I think I know the reason. |
@nezorflame 👍 I think
|
That's the problem then. Seems that Go proxy has cached the
I'll research this when I have time. |
Was the history of the repository changed? (push --force to master or a tag overwritten?) |
@rhcarvalho nope, see the post above yours |
microsoft/vscode-go#3057 should fix the issue for the VSCode users with the |
@fearform for now just install it manually from the |
Hi there, I apologize for the inconvenience but as a beginner trying to learn golang I'm not sure I get this answer from @nezorflame :
I am using VScode as well but still have an error when trying to install the Analysis Tool as shown above :
Could you please elaborate a bit more on the way to fix this issue ? Thanks in advance, |
@BaptisteOue same applies to your case.
|
Someone pointed me here from Twitter - I get a pop-up in VSCode for 30s-2minutes every time I save files saying "applying formatting before save". They suggested it was due to this issue? https://twitter.com/dadideo/status/1232592177672355841?s=20 |
@alexellis I doubt it since gopkgs should not be a save participant. It is only triggered on manual "Go: Add Imports" action AFAIK. |
I ran go get github.com/uudashr/gopkgs/v2/cmd/gopkgs in my ~/go/bin/ path and that seems to have fixed vscode complaining, but now ctrl+click to open functions does not work. Also "Go to definition", "Go to type" and "Go to implementation" do not work for functions either. |
goproxy=direct is working. |
@sirius1024 see my answer here |
While the install issue with VSCode has been resolved in microsoft/vscode-go#3057 with the 0.13.1 release, I still need to fix the EDIT: @nathanaelle seems to have already fixed this in #28, let's wait on the results for his PR. |
The text was updated successfully, but these errors were encountered: