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 "/about" #214

Open
Nexus-Gits opened this issue Dec 26, 2023 · 0 comments
Open

Error occurred prerendering page "/about" #214

Nexus-Gits opened this issue Dec 26, 2023 · 0 comments

Comments

@Nexus-Gits
Copy link

Please fix this issue in vercel.

[13:12:57.148] ⚠ You are using an experimental edge runtime, the API might change.
[13:13:00.414] Generating static pages (0/16) ...
[13:13:01.199] @notionhq/client warn: request fail {
[13:13:01.202] code: 'validation_error',
[13:13:01.202] message: 'path failed validation: path.database_id should be a valid uuid, instead was "undefined".'
[13:13:01.203] }
[13:13:01.203]
[13:13:01.203] Error occurred prerendering page "/about". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:01.203] APIResponseError: path failed validation: path.database_id should be a valid uuid, instead was "undefined".
[13:13:01.203] at buildRequestError (/vercel/path0/node_modules/@notionhq/client/build/src/errors.js:162:16)
[13:13:01.204] at Client.request (/vercel/path0/node_modules/@notionhq/client/build/src/Client.js:304:54)
[13:13:01.204] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[13:13:01.204] at async getWorkTimelineData (/vercel/path0/.next/server/chunks/52.js:1:861)
[13:13:01.204] at async getStaticProps (/vercel/path0/.next/server/pages/about.js:1:6342)
[13:13:01.476]
[13:13:01.476] Error occurred prerendering page "/blog". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:01.477] Error: Error serializing .articles[0].publishedDate returned from getStaticProps in "/blog".
[13:13:01.477] Reason: undefined cannot be serialized as JSON. Please use null or omit this value.
[13:13:01.477] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:446)
[13:13:01.477] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:683
[13:13:01.477] at Array.every ()
[13:13:01.477] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:580)
[13:13:01.477] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:845
[13:13:01.477] at Array.every ()
[13:13:01.477] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:807)
[13:13:01.479] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:683
[13:13:01.479] at Array.every ()
[13:13:01.479] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:580)
[13:13:01.480]
Generating static pages (4/16)
[13:13:01.621] @notionhq/client warn: request fail {
[13:13:01.621] code: 'validation_error',
[13:13:01.621] message: 'path failed validation: path.database_id should be a valid uuid, instead was "undefined".'
[13:13:01.621] }
[13:13:01.621]
[13:13:01.621] Error occurred prerendering page "/changelog". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:01.621] APIResponseError: path failed validation: path.database_id should be a valid uuid, instead was "undefined".
[13:13:01.622] at buildRequestError (/vercel/path0/node_modules/@notionhq/client/build/src/errors.js:162:16)
[13:13:01.622] at Client.request (/vercel/path0/node_modules/@notionhq/client/build/src/Client.js:304:54)
[13:13:01.622] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[13:13:01.622] at async getChangelogData (/vercel/path0/.next/server/chunks/52.js:1:1591)
[13:13:01.622] at async getStaticProps (/vercel/path0/.next/server/pages/changelog.js:1:1993)
[13:13:02.584] TypeError: Cannot read properties of null (reading 'messages')
[13:13:02.585] at CommunityWall (/vercel/path0/.next/server/pages/community-wall.js:1:6763)
[13:13:02.585] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
[13:13:02.586] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
[13:13:02.586] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[13:13:02.586] at $c (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[13:13:02.586] at bd (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
[13:13:02.587] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
[13:13:02.587] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:74:209)
[13:13:02.587] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[13:13:02.587] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481)
[13:13:02.587]
[13:13:02.588] Error occurred prerendering page "/community-wall". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:02.588] TypeError: Cannot read properties of null (reading 'messages')
[13:13:02.588] at CommunityWall (/vercel/path0/.next/server/pages/community-wall.js:1:6763)
[13:13:02.589] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
[13:13:02.589] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
[13:13:02.589] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[13:13:02.589] at $c (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:78:98)
[13:13:02.590] at bd (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:77:404)
[13:13:02.590] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:217)
[13:13:02.590] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:74:209)
[13:13:02.590] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
[13:13:02.590] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481)
[13:13:04.334]
[13:13:04.334] Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:04.335] Error: Error serializing .recentArticles[1].publishedDate returned from getStaticProps in "/".
[13:13:04.335] Reason: undefined cannot be serialized as JSON. Please use null or omit this value.
[13:13:04.335] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:446)
[13:13:04.335] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:683
[13:13:04.336] at Array.every ()
[13:13:04.336] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:580)
[13:13:04.336] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:845
[13:13:04.336] at Array.every ()
[13:13:04.336] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:807)
[13:13:04.336] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:683
[13:13:04.336] at Array.every ()
[13:13:04.336] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:580)
[13:13:04.551] @notionhq/client warn: request fail {
[13:13:04.553] code: 'validation_error',
[13:13:04.553] message: 'path failed validation: path.block_id should be a valid uuid, instead was "undefined".'
[13:13:04.553] }
[13:13:04.554]
[13:13:04.554] Error occurred prerendering page "/meetup". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:04.554] APIResponseError: path failed validation: path.block_id should be a valid uuid, instead was "undefined".
[13:13:04.554] at buildRequestError (/vercel/path0/node_modules/@notionhq/client/build/src/errors.js:162:16)
[13:13:04.555] at Client.request (/vercel/path0/node_modules/@notionhq/client/build/src/Client.js:304:54)
[13:13:04.555] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[13:13:04.555] at async getPageInfo (/vercel/path0/.next/server/chunks/52.js:1:2818)
[13:13:04.555] at async getStaticProps (/vercel/path0/.next/server/pages/meetup.js:1:6512)
[13:13:04.555]
Generating static pages (8/16)
[13:13:04.685] @notionhq/client warn: request fail {
[13:13:04.688] code: 'validation_error',
[13:13:04.689] message: 'path failed validation: path.database_id should be a valid uuid, instead was "undefined".'
[13:13:04.689] }
[13:13:04.689]
[13:13:04.689] Error occurred prerendering page "/speaking". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:04.689] APIResponseError: path failed validation: path.database_id should be a valid uuid, instead was "undefined".
[13:13:04.690] at buildRequestError (/vercel/path0/node_modules/@notionhq/client/build/src/errors.js:162:16)
[13:13:04.690] at Client.request (/vercel/path0/node_modules/@notionhq/client/build/src/Client.js:304:54)
[13:13:04.690] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[13:13:04.690] at async getListOfTalksData (/vercel/path0/.next/server/chunks/52.js:1:1283)
[13:13:04.690] at async getStaticProps (/vercel/path0/.next/server/pages/speaking.js:1:8673)
[13:13:04.828] @notionhq/client warn: request fail {
[13:13:04.828] code: 'validation_error',
[13:13:04.828] message: 'path failed validation: path.block_id should be a valid uuid, instead was "undefined".'
[13:13:04.828] }
[13:13:04.829]
[13:13:04.829] Error occurred prerendering page "/toolbox". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:04.829] APIResponseError: path failed validation: path.block_id should be a valid uuid, instead was "undefined".
[13:13:04.829] at buildRequestError (/vercel/path0/node_modules/@notionhq/client/build/src/errors.js:162:16)
[13:13:04.829] at Client.request (/vercel/path0/node_modules/@notionhq/client/build/src/Client.js:304:54)
[13:13:04.829] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[13:13:04.829] at async getPageInfo (/vercel/path0/.next/server/chunks/52.js:1:2818)
[13:13:04.829] at async getStaticProps (/vercel/path0/.next/server/pages/toolbox.js:1:3981)
[13:13:06.445]
[13:13:06.447] Error occurred prerendering page "/blog/modern-javascript-in-legacy-applications". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:06.447] TypeError: Cannot read properties of null (reading 'start')
[13:13:06.447] at getStaticProps (/vercel/path0/.next/server/pages/blog/[slug].js:1:15039)
[13:13:06.448] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[13:13:06.451]
Generating static pages (12/16)
[13:13:07.532]
[13:13:07.532] Error occurred prerendering page "/blog/categories/javascript". Read more: https://nextjs.org/docs/messages/prerender-error
[13:13:07.534] Error: Error serializing .featuredArticle.publishedDate returned from getStaticProps in "/blog/categories/[tag]".
[13:13:07.539] Reason: undefined cannot be serialized as JSON. Please use null or omit this value.
[13:13:07.539] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:446)
[13:13:07.539] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:683
[13:13:07.539] at Array.every ()
[13:13:07.540] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:580)
[13:13:07.540] at /vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:683
[13:13:07.540] at Array.every ()
[13:13:07.540] at r (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:580)
[13:13:07.541] at H (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:38:1117)
[13:13:07.541] at eZ (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:48:294)
[13:13:07.541] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[13:13:08.027]
✓ Generating static pages (16/16)
[13:13:08.029]
[13:13:08.030] > Export encountered errors on following paths:
[13:13:08.030] /
[13:13:08.030] /about
[13:13:08.031] /blog
[13:13:08.031] /blog/[slug]: /blog/modern-javascript-in-legacy-applications
[13:13:08.031] /blog/categories/[tag]: /blog/categories/javascript
[13:13:08.031] /changelog
[13:13:08.031] /community-wall
[13:13:08.031] /meetup
[13:13:08.031] /speaking
[13:13:08.031] /toolbox
[13:13:08.094] error Command failed with exit code 1.
[13:13:08.097] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[13:13:08.118] Error: Command "yarn run build" exited with 1

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

1 participant