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

cmd/go: unsupported GOOS/GOARCH pair undefined/undefined #1674

Closed
ghuser404 opened this issue May 12, 2018 · 7 comments
Closed

cmd/go: unsupported GOOS/GOARCH pair undefined/undefined #1674

ghuser404 opened this issue May 12, 2018 · 7 comments

Comments

@ghuser404
Copy link

In workspace settings specifying GOARCH and/or GOOS makes them undefined, which leads to the error message: "cmd/go: unsupported GOOS/GOARCH pair undefined/undefined".

@ramya-rao-a
Copy link
Contributor

How are you specifying them in settings?

@ghuser404
Copy link
Author

Like so: "go.toolsEnvVars": { "GOARCH": "arm", "GOOS": "linux" }

@bGN4
Copy link

bGN4 commented May 14, 2018

same problem, after update to new version.

@ramya-rao-a
Copy link
Contributor

@ghuser404, @bGN4

I believe this got fixed in master with #1665
Can you try the below?

@ramya-rao-a
Copy link
Contributor

This bug fix is now out in the latest update to the Go extension (0.6.80)

@0x5010
Copy link

0x5010 commented Jun 27, 2018

image
same problem, go extension (0.6.83)

@ramya-rao-a
Copy link
Contributor

@0x5010 In your case, it doesnt say "cmd/go: unsupported GOOS/GOARCH pair undefined/undefined"

It says js/wasm instead which doesnt look like valid values for GOOS/GOARCH

@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 2, 2018
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

4 participants