How to deploy to Vercel with dynamically generated package from Prisma
Solution 1:
What command are you using to build the app?
Recommended approach is to use this one:
// package.json scripts section
"vercel-build": "prisma generate && prisma migrate deploy && next build",
It will generate new prisma client and definitions, apply migrations and then build the app for production.
More info in the docs as always