-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: WebAssembly is not defined #686
Comments
Try adding this to your environment variable: NODE_OPTIONS=--polyglot
NODE_POLYGLOT_OPTIONS=--js.webassembly --experimental-options |
Thanks for the tip! It worked albeit it took about 5 min or so and
|
WebAssembly should work out-of-the-box in GraalNodeJS now, i.e. since 24.0.0. |
I've looked into why it's so slow and found 2 performance issues in the JS↔WASM interface, fixed in edbfa8e. |
It appears
WebAssembly.Memory
is supportedgraaljs/graal-nodejs/deps/v8/src/wasm/wasm-js.cc
Line 1126 in 86f978c
but the following lines failed. Do I miss something obvious?
The text was updated successfully, but these errors were encountered: