Skip to content

Error running mandelbrot.wasm using nodejs #120

@louisvangeldrop

Description

@louisvangeldrop

Under Windows:

  • cd wasmnizer-ts\build

  • node .\cli\ts2wasm.js ..\tests\benchmark\mandelbrot.ts -o mandelbrot.wasm --opt=3 => success

  • cd tools\validate\run_module_on_node

  • node --experimental-wasm-gc --experimental-wasm-stringref --experimental-wasm-modules --experimental-repl-await run_module.js -f main ......\build\mandelbrot.wasm

Error:
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^

[CompileError: WebAssembly.instantiate(): invalid value type 0x78 @+12]

Node.js v20.10.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions