dexter0417
TTCTheo's Typesafe Cult
•Created by dexter0417 on 5/15/2023 in #questions
[CLIENT_FETCH_ERROR] when deploying to Vercel production
@Ronan this does not make sense. The deployment to Vercel succeeds and after that it can not find the Prisma Client.
5 replies
TTCTheo's Typesafe Cult
•Created by dexter0417 on 5/15/2023 in #questions
[CLIENT_FETCH_ERROR] when deploying to Vercel production
2023-05-15T14:19:14.456Z undefined INFO - info Loaded env from /var/task/.env.production
prisma:warn Your generated Prisma Client could not immediately find its
schema.prisma
, falling back to finding it via the current working directory.
prisma:warn We are interested in learning about your project setup. We'd appreciate if you could take the time to share some information with us.
prisma:warn Please help us by answering a few questions: https://pris.ly/bundler-investigation
PrismaClientInitializationError: Your schema.prisma could not be found, and we detected that you are using Next.js.
Find out why and learn how to fix this: https://pris.ly/d/schema-not-found-nextjs
at new Zt (/var/task/node_modules/@prisma/client/runtime/library.js:103:2769)
at t.getEngine (/var/task/node_modules/@prisma/client/runtime/library.js:174:6033)
at new t (/var/task/node_modules/@prisma/client/runtime/library.js:174:5617)
at /var/task/.next/server/chunks/550.js:99:42 {
clientVersion: '4.14.0',
errorCode: undefined
}
RequestId: ea5bc76a-48de-4d5a-9ffb-fc158f064d17 Error: Runtime exited with error: exit status 1
Runtime.ExitError5 replies
TTCTheo's Typesafe Cult
•Created by dexter0417 on 5/15/2023 in #questions
[CLIENT_FETCH_ERROR] when deploying to Vercel production
something with the Prisma Client
5 replies