Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred prerendering page "/sitemap.xml" #48

Open
Vent3st opened this issue Apr 30, 2023 · 2 comments
Open

Error occurred prerendering page "/sitemap.xml" #48

Vent3st opened this issue Apr 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Vent3st
Copy link

Vent3st commented Apr 30, 2023

Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error Error: Invalid prisma.user.findMany()invocation: The tablepublic.User does not exist in the current database. at pn.handleRequestError (/vercel/path0/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:176:6477) at pn.request (/vercel/path0/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:176:5786) at async t._request (/vercel/path0/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:179:10484) at async sitemap (/vercel/path0/.next/server/app/sitemap.xml/route.js:154:19) at async GET (/vercel/path0/.next/server/app/sitemap.xml/route.js:183:16) info - Generating static pages (5/5)

@maige-app maige-app bot added the bug Something isn't working label Apr 30, 2023
@anscg
Copy link

anscg commented Apr 30, 2023

Seems like a duplicate of #46

@vignesh-gupta
Copy link

vignesh-gupta commented Oct 12, 2023

hey @Vent3st, run npx prisma db push

set pre-build as next build in package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants