Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Installing github.com/uudashr/gopkgs/cmd/gopkgs FAILED #2857

Closed
yuwenlong opened this issue Oct 22, 2019 · 8 comments
Closed

Installing github.com/uudashr/gopkgs/cmd/gopkgs FAILED #2857

yuwenlong opened this issue Oct 22, 2019 · 8 comments

Comments

@yuwenlong
Copy link

https://github.com/uudashr/gopkgs/cmd/gopkgs
The link will open and report 404.

Installing 18 tools at /data/app/go/bin
gocode
gopkgs
go-outline
go-symbols
guru
gorename
gotests
gomodifytags
impl
fillstruct
goplay
godoctor
dlv
gocode-gomod
gogetdoc
goreturns
golint
gopls

Installing github.com/mdempsky/gocode SUCCEEDED
Installing github.com/uudashr/gopkgs/cmd/gopkgs FAILED
Installing github.com/ramya-rao-a/go-outline SUCCEEDED
Installing github.com/acroca/go-symbols SUCCEEDED
Installing golang.org/x/tools/cmd/guru SUCCEEDED
Installing golang.org/x/tools/cmd/gorename SUCCEEDED
Installing github.com/cweill/gotests/... SUCCEEDED
Installing github.com/fatih/gomodifytags SUCCEEDED
Installing github.com/josharian/impl SUCCEEDED
Installing github.com/davidrjenni/reftools/cmd/fillstruct SUCCEEDED
Installing github.com/haya14busa/goplay/cmd/goplay SUCCEEDED
Installing github.com/godoctor/godoctor SUCCEEDED
Installing github.com/go-delve/delve/cmd/dlv SUCCEEDED
Installing github.com/stamblerre/gocode SUCCEEDED
Installing github.com/zmb3/gogetdoc SUCCEEDED
Installing github.com/sqs/goreturns SUCCEEDED
Installing golang.org/x/lint/golint SUCCEEDED
Installing golang.org/x/tools/gopls SUCCEEDED

1 tools failed to install.

gopkgs:
Error: Command failed: /usr/local/go/bin/go get -v github.com/uudashr/gopkgs/cmd/gopkgs
go: finding github.com/uudashr/gopkgs/cmd/gopkgs latest
go get: github.com/uudashr/gopkgs/cmd/gopkgs@v0.0.0-20191022034909-9ad6b82ad5c3 requires
github.com/uudashr/gopkgs/v2@v2.0.3: reading github.com/uudashr/gopkgs/go.mod at revision v2.0.3: unknown revision v2.0.3
go: finding github.com/uudashr/gopkgs/cmd/gopkgs latest
go get: github.com/uudashr/gopkgs/cmd/gopkgs@v0.0.0-20191022034909-9ad6b82ad5c3 requires
github.com/uudashr/gopkgs/v2@v2.0.3: reading github.com/uudashr/gopkgs/go.mod at revision v2.0.3: unknown revision v2.0.3

@moosetheory
Copy link

I am also seeing this same error using VS Code 1.39.2, Windows 10.0.18362, WSL (Ubuntu 18.04.2 LTS) and go1.13.3 linux/amd64.
If I run the '/usr/local/go/bin/go get -v github.com/uudashr/gopkgs/cmd/gopkgs' command from a terminal, it seems to complete successfully, and I can run gopkgs from there, but it still does not seem to be available inside VS Code.

@stamblerre
Copy link
Contributor

This is an issue with with the upstream repo: uudashr/gopkgs#22.

@nezorflame
Copy link
Contributor

nezorflame commented Oct 23, 2019

As a temporary workaround, you could install the older version of it manually, like go get github.com/uudashr/gopkgs/cmd/gopkgs@v2.0.1

@yuwenlong
Copy link
Author

This is the command that vscode automatically executes when it executes the Go Install/Update tool.
@nezorflame

@nezorflame
Copy link
Contributor

nezorflame commented Oct 23, 2019

I know it does, but if you manually get the package, at least it'd work for the new installment.
As for the updating it - yeah, we need @uudashr to merge the uudashr/gopkgs#21 and (ideally) to release cmd/gopkgs/v1.0.0 and maintain proper release versioning.

@uudashr
Copy link
Contributor

uudashr commented Oct 24, 2019

Please try it again. Just fix some and test on my end and it works.

@yuwenlong
Copy link
Author

The test is ok.
@uudashr

@nezorflame
Copy link
Contributor

nezorflame commented Oct 24, 2019

It works now, but the version is currently not the latest one. We are continuing investigation in the linked issue.

@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants