PrismaP
Prisma8mo ago
7 replies
mr nooli

ENOENT: no such file or directory, open '/var/task/prisma/query_compiler_bg.wasm'

Query compiler doesn't work when deployed on Vercel...

Unhandled Rejection: Error: ENOENT: no such file or directory, open '/var/task/prisma/query_compiler_bg.wasm'
    at Object.getQueryCompilerWasmModule (.next/server/chunks/1024.js:1:239583)
    at <unknown> (.next/server/chunks/1024.js:19:40874)
    at async Object.loadQueryCompiler (.next/server/chunks/1024.js:19:41158)
    at async ot.instantiateQueryCompiler (.next/server/chunks/1024.js:19:42740) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/var/task/prisma/query_compiler_bg.wasm'
}


Why is the query compiler considered ready for use?? It's incredibly buggy and I'm still unable to get it running properly without fault or issue.
Was this page helpful?