getting @prisma/client not initiate error on deployment over vercel #24212
Unanswered
divyanshdixit
asked this question in
Q&A
Replies: 1 comment
-
Hi @divyanshdixit 👋 Thank you for raising this question. This error typically occurs when Prisma Client is not properly generated before your application starts. Here are a few things you can try to resolve this issue:
Do take a look at this section on deploying to vercel. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
I was trying to deploy next js app on vercel, but after deploying successfully completed when i try to access my api , it shows below error and I've done mostly everything to resolve it.
I've tried every solution available on internet. but don't know why i'm getting same error again and again.
Error: @prisma/client did not initialize yet.
How to reproduce (optional)
Expected behavior (optional)
No response
Information about Prisma Schema, Client Queries and Environment (optional)
// Add your schema.prisma
// Add any relevant Prisma Client queries here
OS:
Database:
Node.js version:
Run
prisma -v
to see your Prisma version and paste itBeta Was this translation helpful? Give feedback.
All reactions