PrismaClientInitializationError – Missing Query Engine Binary for rhel-openssl-1.0.x on Vercel
Hello,
I'm encountering a PrismaClientInitializationError that started recently. Everything was working perfectly yesterday, but now I'm getting an error at runtime when deploying on Vercel.
To resolve it, I tried updating my Prisma schema with the following:
However, that didn’t resolve the issue. What’s particularly interesting is that I have two projects deployed on Vercel, both using the same Prisma generator configuration and connecting to the same database. The other project works perfectly without specifying binaryTargets, but this one suddenly stopped working as of yesterday.
I'm encountering a PrismaClientInitializationError that started recently. Everything was working perfectly yesterday, but now I'm getting an error at runtime when deploying on Vercel.
To resolve it, I tried updating my Prisma schema with the following:
However, that didn’t resolve the issue. What’s particularly interesting is that I have two projects deployed on Vercel, both using the same Prisma generator configuration and connecting to the same database. The other project works perfectly without specifying binaryTargets, but this one suddenly stopped working as of yesterday.