-
Bug
-
Resolution: Done
-
Critical
-
2.13.0.GA, 2.14.0.GA, 2.15.0.GA, 3.0.0.GA
-
False
-
False
-
See KI in
CRW-1521 -
Not Required
-
- Start a Go workspace
- Open main.go
- CTRL+Space on any method
- Notification pops up, click install-all
-
Currently when you try to install LS tools for Go devfile, it fails on the airgapped environment:
Unable to find source-code formatter for language: no_language. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yamlTools environment: GOPATH=/projects/.che/gopath:/projects Installing 3 tools at /projects/.che/gopath/bin:/projects/bin in module mode. godoctor gocode-gomod golangci-lint Installing github.com/godoctor/godoctor FAILED Installing github.com/godoctor/godoctor FAILED Installing github.com/stamblerre/gocode FAILED Installing github.com/stamblerre/gocode FAILED Installing github.com/golangci/golangci-lint/cmd/golangci-lint FAILED 3 tools failed to install. godoctor: failed to install [object Object]: Error: Command failed: /usr/bin/go get -v github.com/godoctor/godoctor go get github.com/godoctor/godoctor: module github.com/godoctor/godoctor: Get "https://proxy.golang.org/github.com/godoctor/godoctor/@v/list": Forbidden undefined gocode-gomod: failed to install [object Object]: Error: Command failed: /usr/bin/go get -v -d github.com/stamblerre/gocode go get github.com/stamblerre/gocode: module github.com/stamblerre/gocode: Get "https://proxy.golang.org/github.com/stamblerre/gocode/@v/list": Forbidden undefined golangci-lint: failed to install [object Object]: Error: Command failed: /usr/bin/go get -v github.com/golangci/golangci-lint/cmd/golangci-lint go get github.com/golangci/golangci-lint/cmd/golangci-lint: module github.com/golangci/golangci-lint/cmd/golangci-lint: Get "https://proxy.golang.org/github.com/golangci/golangci-lint/cmd/golangci-lint/@v/list": Forbidden undefined Installing github.com/golangci/golangci-lint/cmd/golangci-lint FAILED 3 tools failed to install. godoctor: failed to install [object Object]: Error: Command failed: /usr/bin/go get -v github.com/godoctor/godoctor go get github.com/godoctor/godoctor: module github.com/godoctor/godoctor: Get "https://proxy.golang.org/github.com/godoctor/godoctor/@v/list": Forbidden undefined gocode-gomod: failed to install [object Object]: Error: Command failed: /usr/bin/go get -v -d github.com/stamblerre/gocode go get github.com/stamblerre/gocode: module github.com/stamblerre/gocode: Get "https://proxy.golang.org/github.com/stamblerre/gocode/@v/list": Forbidden undefined golangci-lint: failed to install [object Object]: Error: Command failed: /usr/bin/go get -v github.com/golangci/golangci-lint/cmd/golangci-lint go get github.com/golangci/golangci-lint/cmd/golangci-lint: module github.com/golangci/golangci-lint/cmd/golangci-lint: Get "https://proxy.golang.org/github.com/golangci/golangci-lint/cmd/golangci-lint/@v/list": Forbidden undefined
There is a workaround though:
go get -u <package_name> e.g. go get -u github.com/godoctor/godoctor
- is blocked by
-
CRW-1521 Some language server tools are not preinstalled in the UDI image for use with golang workspaces
-
- Closed
-