go: wasm_exec.html (+.js): LinkError: WebAssembly.instantiate():

What version of Go are you using (go version)?

$ go version
1.13

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
GOOS=js
GOARH=wasm
$ go env

What did you do?

What did you expect to see?

Error in execute in brouser bin code on wasm

What did you see instead?

LinkError: WebAssembly.instantiate(): Import #18 module=“go” function=“syscall/js.copyBytesToJS” error: function import requires a callable (anonymous) @ wasm_exec.html:36 Promise.catch (async) (anonymous) @ wasm_exec.html:35

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

I figured out what the problem was: when moving from version 1.13.1 to a newer one, the shuffling library changed. For proper operation it was necessary to remove everything and install from the very beginning (as during the first installation). After that, everything starts to work. The topic can be closed.