-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Failed to start go devcontainer #236
Comments
I have seen some issues lately where certain go packages temporarily stopped working and then got fixed again. I will take a closer look |
It seems like github.com/uudashr/gopkgs/cmd/gopkgs is no longer present. Or not resolving in the same fashion as it did previously. |
I pulled that package out temporarily from the Dockerfile and was able to build |
Yeah it's odd - error I see is:
...which implies the package is there (since we use latest and its finding 2.1.0). |
Yep - there's an upstream issue for the package and a PR to fix it. Issue: uudashr/gopkgs#22 |
Latest upstream issue is here: uudashr/gopkgs#25 FWIW, you can tweak the Dockerfile to install the package without using a go module as a tactical solution - the upstream issue appears to be getting some traction, but if it dies I may update the repo with this workaround. Remove: github.com/uudashr/gopkgs/cmd/gopkgs@latest \ Then update ... #
# Install Go tools w/o module support
&& go get -v github.com/alecthomas/gometalinter 2>&1 \ to... && go get -v github.com/alecthomas/gometalinter \
github.com/uudashr/gopkgs/cmd/gopkgs 2>&1 \ |
The latest on this is that the bad gopkgs version is being cached by the global goproxy. So, to resolve this, updating to "v2" in the URI appears to fix the problem. This has been done in commit 4579be1 since this has been going on too long. It changes github.com/uudashr/gopkgs/cmd/gopkgs@latest \ to github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest \ |
This workaround is in v0.101.1 of the stable extension and will be in the v0.102.0 insiders version that will be released soon. If you have an existing Dockerfile, make the small update above. |
Issue Type: Bug
Hi,
i'm trying to start a dev container from the example provided by microsoft
https://github.com/Microsoft/vscode-remote-try-go
im getting the following error message
did you know the problem ? i've updated all the tools like vscode and docker-desktop (windows 10)
VS Code version: Code 1.42.0 (ae08d5460b5a45169385ff3fd44208f431992451, 2020-02-06T10:51:34.058Z)
OS version: Windows_NT x64 10.0.17134
Remote OS version: Linux x64 4.19.76-linuxkit
Fetching remote diagnostics for 'Dev Container: Go Sample' failed.
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: enabled
webgl2: enabled
Fetching remote diagnostics for 'Dev Container: Go Sample' failed.
The text was updated successfully, but these errors were encountered: