You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When built with GOOS=js GOARCH=wasm go build main.go using Go 1.11 this produces a WASM binary without error. However VSCode shows that there's an error:
could not import syscall/js (can't find import: "syscall/js")
I think this has to do with that namespace being experimental while wasm support stabilizes over the coming versions. I'm given very little details about the error.
As a result of the namespace not being found, intellisense also doesn't work.
I'm running VSCode 1.26.1 on Linux Mint 19 x64 with Go 1.11
When built with
GOOS=js GOARCH=wasm go build main.gousing Go 1.11 this produces a WASM binary without error. However VSCode shows that there's an error:I think this has to do with that namespace being experimental while wasm support stabilizes over the coming versions. I'm given very little details about the error.
As a result of the namespace not being found, intellisense also doesn't work.
I'm running VSCode 1.26.1 on Linux Mint 19 x64 with Go 1.11