Unhandled Rejection: Error [PrismaClientInitializationErro]
have you got chance to review our prisma template: Find your Template ? This should help you to get started.
You would likely need to override build command with:
"scripts": {
"dev": "prisma generate && next dev",
"build": "prisma generate && prisma db push && prisma db seed && next build",
"start": "next start",
"lint": "next lint"
},