I’m encountering an issue after upgrading to a new Prisma version. When calling prisma.form.create(), I get the following error:
prisma:error Invalid
prisma.form.create()
prisma.form.create()
invocation:
ENOENT: no such file or directory, open '/var/task/generated/prisma/query_compiler_bg.wasm'
Unhandled Rejection: Error: ENOENT: no such file or directory, open '/var/task/generated/prisma/query_compiler_bg.wasm' at Object.getQueryCompilerWasmModule (.next/server/chunks/141.js:88:10806) at <unknown> (.next/server/chunks/141.js:18:30161) at async Object.loadQueryCompiler (.next/server/chunks/141.js:18:30445) at async aK.instantiateQueryCompiler (.next/server/chunks/141.js:18:31858) { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/task/generated/prisma/query_compiler_bg.wasm' } Node.js process exited with exit status: 128. The logs above can help with debugging the issue.