#How to fix WebAssembly.Module(): invalid memory limits flags

12 messages · Page 1 of 1 (latest)

shadow fulcrum
#

Hello,
I'm getting this problem
how can I fix it?

thorn aspen
#

I've never seen this O.o what's your node version?

thorn aspen
#

or, what framework do you use? looks like it doesn't know about shared Wasm memory, which was added a couple of years ago in most browsers (so, pretty "recent") and is needed in snarkyjs for multithreading the zk prover

shadow fulcrum
#

My node version is v16.19.0

thorn aspen
#

I don't have ideas for what causes this, @languid sage do you?

blissful prawn
#

🤔

languid sage
#

I haven't seen this before. I will run the tutorial code from the docs repo myself to see if I can reproduce this. We may need to update some things anyways. @shadow fulcrum I agree with @thorn aspen that you should update your node version and make sure you are using Chrome or Firefox as your browser. Node 16 is scheduled for end of life in September this year. https://github.com/nodejs/release#release-schedule .

GitHub

Node.js Release Working Group. Contribute to nodejs/Release development by creating an account on GitHub.

shadow fulcrum
#

Hello, I updated nodejs to version 18. It works fine. Thanks

thorn aspen
#

That's great to hear, thanks!

blissful prawn
#

🎉