steven-tey / precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.

Home Page:https://precedent.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When i try to deploy it gives me this error ( Error occurred prerendering page)

Ultrasclash opened this issue · comments

Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error

15:06:47.327 | Error:
15:06:47.327 | Invalid prisma.user.findMany() invocation:
15:06:47.327 |  
15:06:47.327 |  
15:06:47.327 | The table public.User does not exist in the current database.

You should push your prisma db

commented

You should push your prisma db

thanks, how would we push prisma db? locally?

run npx prisma db push

it should also be automatically ran when you do next build