Open simnalamburt opened 2 years ago
Looks like this is an issue of emscripten
I've sent a patch to the emscripten: https://github.com/emscripten-core/emscripten/pull/16917
I've updated emscripten https://github.com/emscripten-core/emscripten/pull/16917.
This issue will be fixed if you rebuild the argon2-browser with updated emscripten.
See simnalamburt/argon2-browser-error-repro for the error reproduction.
Works in Node.js < 18.1.0, fails with Node.js >= 18.1.0.
Works well if you disable experimental fetch:
This is due to change regarding
WebAssembly.instantiateStreaming
, which was added in Node.js v18.1.0.References