Next.js Discord

Discord Forum

NextJs + Prisma Deployment Error

Answered
Cuvier’s Dwarf Caiman posted this in #help-forum
Open in Discord
Cuvier’s Dwarf CaimanOP
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

Cuvier’s Dwarf CaimanOP
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