PrismaP
Prisma2y ago
1 reply
LuCrypto

npm migrate deploy Error

Every time I deploy my project on vercel, this step

I have a vercel-build command that runs when I deploy my project: “prisma generate && prisma migrate deploy && next build.

And in this command, prisma migrate deploy doesn't work

I got this error (see image), so I tried to run the same command locally, but with the production database

And this time I get another error (see image 2)

What's the cause and what should I do?
image.png
image.png
Was this page helpful?