DjDeveloperr/deno-canvas

Error loading wasm

cupojoe opened this issue · 1 comments

I am getting the following error, which seems related to the wasm file not being found or not being able to load.

both async and sync fetching of the wasm failed
failed to asynchronously prepare wasm: RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.
RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.
    at Ia (file:///Users/Joe.Fraga@ey.com/repos/deno-hack/deno-canvas/deno-canvas-master/lib.js:3879:13)
    at Gb (file:///Users/Joe.Fraga@ey.com/repos/deno-hack/deno-canvas/deno-canvas-master/lib.js:3907:11)
    at file:///Users/Joe.Fraga@ey.com/repos/deno-hack/deno-canvas/deno-canvas-master/lib.js:3919:20
error: Uncaught (in promise) RuntimeError: abort(RuntimeError: abort(both async and sync fetching of the wasm failed). Build with -s ASSERTIONS=1 for more info.). Build with -s ASSERTIONS=1 for more info.
        a = new WebAssembly.RuntimeError(
            ^
    at Ia (file:///Users/Joe.Fraga@ey.com/repos/deno-hack/deno-canvas/deno-canvas-master/lib.js:3879:13)
    at file:///Users/Joe.Fraga@ey.com/repos/deno-hack/deno-canvas/deno-canvas-master/lib.js:6931:13

This happens with the example, both locally and loading from HTTP.

Sorry for late response. Issue is now fixed with 1.1.4.