as-bind
as-bind copied to clipboard
__getArray is not a function
Uncaught TypeError: t.exports.__getArray is not a function
- import * as loader from "./node_modules/as-bind/dist/as-bind.esm.js"; (0.8.2)
-
const module = await loader.instantiate( fetch("build/optimized.wasm"), importObject ); - get the error
as-bind.esm.js:1 Uncaught TypeError: t.exports.__getArray is not a functionin chrome.
@Chris-Kin Sorry for the late reply! This got lost in my Github Notifications! π― That's an interesting bug, can you show how you compiled the Wasm module? I think you may have skipped using the transform, as mentioned in the Quick Start? https://github.com/torch2424/as-bind#quick-start