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 "../../node_modules/.pnpm/@prisma+client@6.3.1_prisma@6.3.1_typescript@5.7.3__typescript@5.7.3/node_modules/.prisma/client".
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/node_modules/.pnpm/@prisma+client@6.3.1_prisma@6.3.1_typescript@5.7.3__typescript@5.7.3/node_modules/.prisma/client
/var/task/apps/admin/.next/server/app/(authenticated)
/vercel/path0/node_modules/.pnpm/@prisma+client@6.3.1_prisma@6.3.1_typescript@5.7.3__typescript@5.7.3/node_modules/@prisma/client
/var/task/apps/admin/.next/server/.prisma/client
/tmp/prisma-engines
at al (/var/task/apps/admin/.next/server/app/(authenticated)/teams/page.js:64:756)
at async Object.loadLibrary (/var/task/apps/admin/.next/server/app/(authenticated)/teams/page.js:111:8957)
at async Dr.loadEngine (/var/task/apps/admin/.next/server/app/(authenticated)/teams/page.js:112:448)
at async Dr.instantiateLibrary (/var/task/apps/admin/.next/server/app/(authenticated)/teams/page.js:111:12377)