Next.js Discord

Discord Forum

NextJs + Prisma Deployment Error

Answered
Cuban Crocodile posted this in #help-forum
Open in Discord
Cuban CrocodileOP
I got problem in deploying my nextjs app with prisma.
Answered by joulev
update the build script in package.json to "build": "prisma generate && next build"
View full answer

4 Replies

Cuban CrocodileOP
how to include the prisma generate command in vercel build & deployment?
update the build script in package.json to "build": "prisma generate && next build"
Answer