Open NoelJacob opened 2 years ago
This is an bug https://github.com/emscripten-core/emscripten/issues/16913, caused by Node adding WebAssembly.instantiateStreaming in version 18. I'm sure either emscripten or node will come up with a real solution to this at some point (there's a PR https://github.com/emscripten-core/emscripten/pull/16917), but in the mean time you can work around this by invoking node with --no-experimental-fetch.
I have encountered exact same issue on Node v18.7.0. Downdrading to v16.18.0 solves the issue.
It is very frustrating, at least it would be great if some error message will be added for users who want to compile it on node 18. Is it possible to fix somehow?
@manylov @arterialist do node --no-experimental-fetch script.js
I ran the examples and this is the result. My system is arch linux.