Closed 1226085293 closed 4 months ago
Can not reproduce. Are you using Node 22 that supports wasm gc?
MoonBit Project: MoonBit.zip
Test NodeJs Project: ts_test.zip
My Node version supports GC, because I had this problem and upgraded my Node version, then it was the problem now
System information: Windows 11 Professional.23H2
Node 20 does not support GC. It has to be enabled with an experimental flag, and the support was unstable. The support was added in Node 22.
Node 20 does not support GC. It has to be enabled with an experimental flag, and the support was unstable. The support was added in Node 22.
I will try using Node22 later
main.mbt
Usage:
Error:
Note: There is no error if the now function is not used.