#How to fix WebAssembly.Module(): invalid memory limits flags
12 messages · Page 1 of 1 (latest)
I've never seen this O.o what's your node version?
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
My node version is v16.19.0
I try to run https://github.com/o1-labs/docs2/tree/main/examples/zkapps/04-zkapp-browser-ui/ui on my local machine
I don't have ideas for what causes this, @languid sage do you?
🤔
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 .
Hello, I updated nodejs to version 18. It works fine. Thanks
That's great to hear, thanks!
🎉