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: Missing SITE_URL in env file #10

Open
Serbia580 opened this issue Nov 3, 2023 · 1 comment
Open

Error: Missing SITE_URL in env file #10

Serbia580 opened this issue Nov 3, 2023 · 1 comment

Comments

@Serbia580
Copy link

Error: Missing SITE_URL in env file

03:26:35.377 | at generateRssFeed (/vercel/path0/.next/server/app/blog/page.js:502:15)
03:26:35.377 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
03:26:35.377 | at async getData (/vercel/path0/.next/server/app/blog/page.js:542:5)
03:26:35.377 | at async Blog (/vercel/path0/.next/server/app/blog/page.js:560:29)
03:26:35.403 |  
03:26:35.403 | Error occurred prerendering page "/blog". Read more: https://nextjs.org/docs/messages/prerender-error
03:26:35.403 | Error: Missing SITE_URL in env file
03:26:35.403 | at generateRssFeed (/vercel/path0/.next/server/app/blog/page.js:502:15)
03:26:35.403 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
03:26:35.403 | at async getData (/vercel/path0/.next/server/app/blog/page.js:542:5)
03:26:35.403 | at async Blog (/vercel/path0/.next/server/app/blog/page.js:560:29)

@fhnasgf28
Copy link

help me please

how to fix this error, first running

if (!parsedPageId) {

240 | throw new Error(invalid notion pageId "${pageId}")
| ^
241 | }
242 |
243 | const body = {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants