sendilkumarn/go-wasm

Console error

gin opened this issue · 0 comments

gin commented

Browser's console error after running with $ go run webServer.go

Uncaught (in promise)
TypeError: WebAssembly.instantiate(): Import #0 module="env"
error: module is not an object or function

It works if using TinyGo's v0.6.0's wasm_exec.js instead of master
https://github.com/tinygo-org/tinygo/blob/v0.6.0/targets/wasm_exec.js