Unhandled Rejection: Error [PrismaClientInitializationError]: Prisma Client could not locate the Query Engine for runtime "rhel-openssl-3.0.x".
We detected that you are using Next.js, learn how to fix this: https://pris.ly/d/engine-not-found-nextjs.
This is likely caused by a bundler that has not copied "libquery_engine-rhel-openssl-3.0.x.so.node" next to the resulting bundle.
Ensure that "libquery_engine-rhel-openssl-3.0.x.so.node" has been copied next to the bundle or in "src/generated/prisma".
We would appreciate if you could take the time to share some information with us.
Please help us by answering a few questions: https://pris.ly/engine-not-found-bundler-investigation
The following locations have been searched:
/var/task/src/generated/prisma
/var/task/.next/server
/vercel/path0/src/generated/prisma
/var/task/.prisma/client
/tmp/prisma-engines
at ay (.next/server/chunks/693.js:30:1107)
at async Object.loadLibrary (.next/server/chunks/693.js:55:9086)
at async oc.loadEngine (.next/server/chunks/693.js:59:450)
at async oc.instantiateLibrary (.next/server/chunks/693.js:58:4263) {
clientVersion: '6.15.0',
errorCode: undefined
}
Unhandled Rejection: Error [PrismaClientInitializationError]: Prisma Client could not locate the Query Engine for runtime "rhel-openssl-3.0.x".
We detected that you are using Next.js, learn how to fix this: https://pris.ly/d/engine-not-found-nextjs.
This is likely caused by a bundler that has not copied "libquery_engine-rhel-openssl-3.0.x.so.node" next to the resulting bundle.
Ensure that "libquery_engine-rhel-openssl-3.0.x.so.node" has been copied next to the bundle or in "src/generated/prisma".
We would appreciate if you could take the time to share some information with us.
Please help us by answering a few questions: https://pris.ly/engine-not-found-bundler-investigation
The following locations have been searched:
/var/task/src/generated/prisma
/var/task/.next/server
/vercel/path0/src/generated/prisma
/var/task/.prisma/client
/tmp/prisma-engines
at ay (.next/server/chunks/693.js:30:1107)
at async Object.loadLibrary (.next/server/chunks/693.js:55:9086)
at async oc.loadEngine (.next/server/chunks/693.js:59:450)
at async oc.instantiateLibrary (.next/server/chunks/693.js:58:4263) {
clientVersion: '6.15.0',
errorCode: undefined
}