Getting an error on Vercel but not locally.

Hii there. I tried deploying my project after completion but while deployment I'm getting this error: Type error: Property 'revalidateSSG' does not exist on type '{ session: { user: { name?: string | null | undefined; email?: string | null | undefined; image?: string | null | undefined; } & { id: string; }; expires: string; }; db: PrismaClient<{ log: ("warn" | "error" | "query")[]; }, never, DefaultArgs>; }'. The code is working perfectly fine locally but not on vercel. I tried checking the environment variables but all of them seem to be correct. I am assuming prisma is a reason for this error since I did have a ton of issues with it while developing. But could someone suggest what might be the reason for this?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server