CompileError: WebAssembly.Module()
npx zenstack@latest init won't work for me. This is the error I received:
AppData\Local\npm-cache_npx\aded272cd7beac82\node_modules@prisma\prisma-schema-wasm\src\prisma_schema_build.js:513 const wasmModule = new WebAssembly.Module(bytes); ^
CompileError: WebAssembly.Module(): section (code 10, "Code") extends past end of the module (length 1817800, remaining bytes 1161996) @+6682
at Object.
Node.js v22.5.1
I tried to clean the npm cache. I tried to reinstall Node. I tried to update Prisma. I tried different versions of Node: 22.5.1, 20.16.0, 18.0.0. I tried with a fresh T3 project. Nothing worked, always the same error.
So, I installed it manually, and it finally worked.
Windows T3Stack Node: 22.5.1, 20.16.0, 18.0.0
@jiashengguo , could you try T3 on windows with latest version when you have time?