tangly1024 / NotionNext

使用 NextJS + Notion API 实现的,支持多种部署方案的静态博客,无需服务器、零门槛搭建网站,为Notion和所有创作者设计。 (A static blog built with NextJS and Notion API, supporting multiple deployment options. No server required, zero threshold to set up a website. Designed for Notion and all creators.)
https://tangly1024.com
MIT License
7.74k stars 10.67k forks source link

【部署失败】一开始部署正常的,但是后面文章多了以后部署老是出现这个错误,麻烦看看是怎么回事 #2758

Open wujiangliu opened 1 month ago

wujiangliu commented 1 month ago

[15:15:03.388] Running build in Washington, D.C., USA (East) – iad1 [15:15:03.687] Cloning github.com/wujiangliu/NotionNext (Branch: main, Commit: b078e0f) [15:15:03.695] Skipping build cache, deployment was triggered without cache. [15:15:04.886] Cloning completed: 1.195s [15:15:06.832] Running "vercel build" [15:15:08.099] Vercel CLI 37.4.2 [15:15:08.575] Installing dependencies... [15:15:09.084] yarn install v1.22.19 [15:15:09.171] [1/4] Resolving packages... [15:15:09.458] [2/4] Fetching packages... [15:15:35.037] [3/4] Linking dependencies... [15:15:35.041] warning "react-facebook > react-spinner-children@1.0.8" has incorrect peer dependency "react@15.x || 16.x". [15:15:35.042] warning "react-notion-x > react-image@4.1.0" has unmet peer dependency "@babel/runtime@>=7". [15:15:35.043] warning "react-notion-x > react-lazy-images@1.1.0" has incorrect peer dependency "react@^15 || ^16". [15:15:35.043] warning "react-notion-x > react-lazy-images@1.1.0" has incorrect peer dependency "react-dom@^15 || ^16". [15:15:35.044] warning "react-notion-x > react-lazy-images > react-intersection-observer@6.4.2" has incorrect peer dependency "react@^15.0.0 || ^16.0.0 || ^17.0.0". [15:15:35.045] warning "react-notion-x > react-pdf > file-loader@6.2.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0". [15:15:35.047] warning "eslint-config-next > @typescript-eslint/parser > @typescript-eslint/typescript-estree > ts-api-utils@1.0.3" has unmet peer dependency "typescript@>=4.2.0". [15:15:35.047] warning " > eslint-plugin-prettier@5.1.3" has incorrect peer dependency "eslint@>=8.0.0". [15:15:41.827] [4/4] Building fresh packages... [15:15:42.289] Done in 33.21s. [15:15:42.316] Detected Next.js version: 14.2.4 [15:15:42.318] Running "yarn run build" [15:15:42.501] yarn run v1.22.19 [15:15:42.543] $ next build [15:15:43.269] Attention: Next.js now collects completely anonymous telemetry regarding usage. [15:15:43.269] This information is used to shape Next.js' roadmap and prioritize features. [15:15:43.269] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL: [15:15:43.270] https://nextjs.org/telemetry [15:15:43.270] [15:15:43.336] ▲ Next.js 14.2.4 [15:15:43.337] - Environments: .env.local [15:15:43.337] - Experiments (use with caution): [15:15:43.337] · scrollRestoration [15:15:43.337] [15:15:43.338] Linting and checking validity of types ... [15:15:46.813] Creating an optimized production build ... [15:15:47.008] [默认主题] /vercel/path0/themes/movie [15:16:01.794] Browserslist: caniuse-lite is outdated. Please run: [15:16:01.795] npx update-browserslist-db@latest [15:16:01.796] Why you should do it regularly: https://github.com/browserslist/update-db#readme [15:16:19.522] ✓ Compiled successfully [15:16:19.523] Collecting page data ... [15:16:19.934] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 slug-paths [15:16:19.940] [API-->>请求] from:slug-paths id:10aaa15c3d8080b7bbb1d74e252e76f9 [15:16:22.338] [API<<--响应] 耗时:747ms - from:slug-paths [15:16:22.365] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.365] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.365] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.365] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.365] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.366] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.366] at async g (/vercel/path0/.next/server/pages/[prefix]/[slug]/[...suffix].js:1:1451) [15:16:22.366] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.366] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.366] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:22.371] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 slug-paths [15:16:22.393] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.393] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.393] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.393] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.394] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.394] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.394] at async g (/vercel/path0/.next/server/pages/[prefix]/[slug].js:1:1427) [15:16:22.394] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.394] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.394] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:22.400] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 slug-paths [15:16:22.408] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.409] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.409] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.410] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.410] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.410] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.410] at async I (/vercel/path0/.next/server/chunks/20158.js:2:5123) [15:16:22.410] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.410] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.411] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:22.426] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 category-paths [15:16:22.440] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.440] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.440] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.440] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.441] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.441] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.441] at async g (/vercel/path0/.next/server/pages/category/[category].js:1:2063) [15:16:22.441] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.441] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.441] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:22.456] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 category-paths [15:16:22.471] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.471] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.471] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.471] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.471] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.471] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.471] at async g (/vercel/path0/.next/server/pages/category/[category]/page/[page].js:1:2047) [15:16:22.471] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.471] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.471] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:22.499] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 page-paths [15:16:22.508] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.508] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.508] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.508] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.508] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.509] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.509] at async c (/vercel/path0/.next/server/pages/page/[page].js:1:1365) [15:16:22.509] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.509] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.509] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:22.528] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 tag-static-path [15:16:22.538] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.538] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.539] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.539] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.539] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.539] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.539] at async x (/vercel/path0/.next/server/pages/tag/[tag].js:1:1876) [15:16:22.540] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.540] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.540] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:22.545] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 tag-page-static-path [15:16:22.555] 异常 TypeError: Cannot convert undefined or null to object [15:16:22.555] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:22.555] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:22.555] at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [15:16:22.555] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:22.555] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:22.555] at async x (/vercel/path0/.next/server/pages/tag/[tag]/page/[page].js:1:1887) [15:16:22.555] at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33) [15:16:22.555] at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110 [15:16:22.556] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:25.604] Generating static pages (0/23) ... [15:16:25.871] missing block undefined [15:16:26.022] missing block undefined [15:16:26.110] missing block undefined [15:16:26.274] Generating static pages (5/23) [15:16:26.780] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 slug-props-13a171332816461db29d50e9f575b00d [15:16:26.781] [API-->>请求] from:slug-props-13a171332816461db29d50e9f575b00d id:1 [15:16:26.782] 异常 TypeError: Cannot convert undefined or null to object [15:16:26.782] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:26.782] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:26.782] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:26.782] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:26.782] at async b (/vercel/path0/.next/server/chunks/20158.js:2:5319) [15:16:26.782] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:26.783] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:26.783] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:26.783] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:26.783] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:26.783] [API<<--异常]: TypeError: e.split is not a function [15:16:26.783] at W (file:///vercel/path0/node_modules/notion-client/node_modules/notion-utils/build/index.js:1:4766) [15:16:26.783] at E.getPageRaw (file:///vercel/path0/node_modules/notion-client/build/index.js:1:2806) [15:16:26.783] at E.getPage (file:///vercel/path0/node_modules/notion-client/build/index.js:1:527) [15:16:26.783] at d (/vercel/path0/.next/server/chunks/36362.js:2:12346) [15:16:26.784] at u (/vercel/path0/.next/server/chunks/36362.js:2:11968) [15:16:26.784] at async b (/vercel/path0/.next/server/chunks/20158.js:2:5776) [15:16:26.784] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:26.784] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:26.784] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:26.784] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:27.805] [API-->>请求] from:slug-props-13a171332816461db29d50e9f575b00d id:1 剩余重试次数:2 [15:16:27.806] [API<<--异常]: TypeError: e.split is not a function [15:16:27.806] at W (file:///vercel/path0/node_modules/notion-client/node_modules/notion-utils/build/index.js:1:4766) [15:16:27.806] at E.getPageRaw (file:///vercel/path0/node_modules/notion-client/build/index.js:1:2806) [15:16:27.807] at E.getPage (file:///vercel/path0/node_modules/notion-client/build/index.js:1:527) [15:16:27.807] at d (/vercel/path0/.next/server/chunks/36362.js:2:12346) [15:16:27.807] at d (/vercel/path0/.next/server/chunks/36362.js:2:12574) [15:16:27.807] at async u (/vercel/path0/.next/server/chunks/36362.js:2:11962) [15:16:27.807] at async b (/vercel/path0/.next/server/chunks/20158.js:2:5776) [15:16:27.807] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:27.808] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:27.808] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:28.991] [API-->>请求] from:slug-props-13a171332816461db29d50e9f575b00d id:1 剩余重试次数:1 [15:16:28.991] [API<<--异常]: TypeError: e.split is not a function [15:16:28.991] at W (file:///vercel/path0/node_modules/notion-client/node_modules/notion-utils/build/index.js:1:4766) [15:16:28.991] at E.getPageRaw (file:///vercel/path0/node_modules/notion-client/build/index.js:1:2806) [15:16:28.991] at E.getPage (file:///vercel/path0/node_modules/notion-client/build/index.js:1:527) [15:16:28.992] at d (/vercel/path0/.next/server/chunks/36362.js:2:12346) [15:16:28.992] at d (/vercel/path0/.next/server/chunks/36362.js:2:12574) [15:16:28.992] at async d (/vercel/path0/.next/server/chunks/36362.js:2:12568) [15:16:28.992] at async u (/vercel/path0/.next/server/chunks/36362.js:2:11962) [15:16:28.992] at async b (/vercel/path0/.next/server/chunks/20158.js:2:5776) [15:16:28.992] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:28.992] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:29.765] [请求失败]: from:slug-props-13a171332816461db29d50e9f575b00d id:1 [15:16:29.765] TypeError: Cannot read properties of null (reading 'block') [15:16:29.766] at NotionBlockRenderer (file:///vercel/path0/node_modules/react-notion-x/build/index.js:2706:47) [15:16:29.766] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) [15:16:29.766] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253) [15:16:29.766] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.766] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:74:209) [15:16:29.767] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.767] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481) [15:16:29.767] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.767] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481) [15:16:29.767] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.767] [15:16:29.768] Error occurred prerendering page "/zh/13a171332816461db29d50e9f575b00d". Read more: https://nextjs.org/docs/messages/prerender-error [15:16:29.768] [15:16:29.768] TypeError: Cannot read properties of null (reading 'block') [15:16:29.768] at NotionBlockRenderer (file:///vercel/path0/node_modules/react-notion-x/build/index.js:2706:47) [15:16:29.768] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) [15:16:29.768] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253) [15:16:29.769] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.769] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:74:209) [15:16:29.769] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.769] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481) [15:16:29.769] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.769] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481) [15:16:29.769] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:29.802] Generating static pages (11/23) [15:16:30.096] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 search-props [15:16:30.101] 异常 TypeError: Cannot convert undefined or null to object [15:16:30.101] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:30.102] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:30.102] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:30.102] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:30.103] at async f (/vercel/path0/.next/server/chunks/20158.js:2:7716) [15:16:30.103] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:30.110] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:30.110] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:30.111] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:30.111] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:30.379] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 search-props [15:16:30.382] 异常 TypeError: Cannot convert undefined or null to object [15:16:30.382] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:30.383] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:30.383] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:30.384] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:30.384] at async x (/vercel/path0/.next/server/pages/search/[keyword]/page/[page].js:1:1409) [15:16:30.384] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:30.384] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:30.384] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:30.385] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:30.385] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:30.843] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 404 [15:16:30.844] 异常 TypeError: Cannot convert undefined or null to object [15:16:30.844] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:30.844] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:30.844] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:30.844] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:30.844] at async m (/vercel/path0/.next/server/pages/404.js:1:1295) [15:16:30.845] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:30.845] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:30.845] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:30.845] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:30.845] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:30.959] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 archive-index [15:16:30.959] 异常 TypeError: Cannot convert undefined or null to object [15:16:30.960] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:30.960] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:30.960] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:30.960] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:30.960] at async q (/vercel/path0/.next/server/pages/archive.js:1:1342) [15:16:30.960] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:30.960] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:30.960] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:30.960] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:30.960] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:30.960] TypeError: Cannot destructure property 'auth' of 'e' as it is undefined. [15:16:30.961] at o (/vercel/path0/.next/server/chunks/32228.js:1:57821) [15:16:30.961] at l (/vercel/path0/.next/server/chunks/32228.js:1:58510) [15:16:30.961] at f (/vercel/path0/.next/server/chunks/32228.js:1:13420) [15:16:30.961] at /vercel/path0/.next/server/chunks/32228.js:1:8270 [15:16:30.961] at Object.Kc [as useMemo] (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:60:240) [15:16:30.961] at exports.useMemo (/vercel/path0/node_modules/react/cjs/react.production.min.js:25:208) [15:16:30.961] at /vercel/path0/.next/server/chunks/32228.js:1:8186 [15:16:30.961] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) [15:16:30.961] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:73:362) [15:16:30.961] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:30.961] [15:16:30.961] Error occurred prerendering page "/zh/archive". Read more: https://nextjs.org/docs/messages/prerender-error [15:16:30.962] [15:16:30.962] TypeError: Cannot destructure property 'auth' of 'e' as it is undefined. [15:16:30.962] at o (/vercel/path0/.next/server/chunks/32228.js:1:57821) [15:16:30.962] at l (/vercel/path0/.next/server/chunks/32228.js:1:58510) [15:16:30.962] at f (/vercel/path0/.next/server/chunks/32228.js:1:13420) [15:16:30.962] at /vercel/path0/.next/server/chunks/32228.js:1:8270 [15:16:30.963] at Object.Kc [as useMemo] (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:60:240) [15:16:30.963] at exports.useMemo (/vercel/path0/node_modules/react/cjs/react.production.min.js:25:208) [15:16:30.963] at /vercel/path0/.next/server/chunks/32228.js:1:8186 [15:16:30.963] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) [15:16:30.963] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:73:362) [15:16:30.963] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:31.084] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 category-index-props [15:16:31.085] 异常 TypeError: Cannot convert undefined or null to object [15:16:31.085] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:31.085] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:31.086] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:31.086] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:31.086] at async x (/vercel/path0/.next/server/pages/category.js:1:1427) [15:16:31.086] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:31.086] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:31.086] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:31.087] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:31.087] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:31.090] Generating static pages (17/23) [15:16:31.126] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 index [15:16:31.126] [RSS订阅] 生成/rss/feed.xml [15:16:31.164] 异常 TypeError: Cannot convert undefined or null to object [15:16:31.164] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:31.164] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:31.165] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:31.165] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:31.165] at async g (/vercel/path0/.next/server/pages/index.js:25:382) [15:16:31.165] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:31.165] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:31.165] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:31.165] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:31.165] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:31.165] TypeError: Cannot destructure property 'auth' of 'e' as it is undefined. [15:16:31.165] at o (/vercel/path0/.next/server/chunks/32228.js:1:57821) [15:16:31.165] at l (/vercel/path0/.next/server/chunks/32228.js:1:58510) [15:16:31.165] at f (/vercel/path0/.next/server/chunks/32228.js:1:13420) [15:16:31.165] at /vercel/path0/.next/server/chunks/32228.js:1:8270 [15:16:31.165] at Object.Kc [as useMemo] (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:60:240) [15:16:31.165] at exports.useMemo (/vercel/path0/node_modules/react/cjs/react.production.min.js:25:208) [15:16:31.165] at /vercel/path0/.next/server/chunks/32228.js:1:8186 [15:16:31.165] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) [15:16:31.165] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:73:362) [15:16:31.165] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:31.165] [15:16:31.165] Error occurred prerendering page "/zh". Read more: https://nextjs.org/docs/messages/prerender-error [15:16:31.165] [15:16:31.165] TypeError: Cannot destructure property 'auth' of 'e' as it is undefined. [15:16:31.165] at o (/vercel/path0/.next/server/chunks/32228.js:1:57821) [15:16:31.166] at l (/vercel/path0/.next/server/chunks/32228.js:1:58510) [15:16:31.166] at f (/vercel/path0/.next/server/chunks/32228.js:1:13420) [15:16:31.166] at /vercel/path0/.next/server/chunks/32228.js:1:8270 [15:16:31.166] at Object.Kc [as useMemo] (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:60:240) [15:16:31.166] at exports.useMemo (/vercel/path0/node_modules/react/cjs/react.production.min.js:25:208) [15:16:31.166] at /vercel/path0/.next/server/chunks/32228.js:1:8186 [15:16:31.166] at Wc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) [15:16:31.166] at Zc (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:73:362) [15:16:31.166] at Z (/vercel/path0/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) [15:16:31.166] RangeError: Invalid time value [15:16:31.166] at Date.toISOString () [15:16:31.166] at /vercel/path0/.next/server/pages/index.js:12:2463 [15:16:31.166] at Array.forEach () [15:16:31.166] at n (/vercel/path0/.next/server/pages/index.js:12:2332) [15:16:31.166] at g (/vercel/path0/.next/server/pages/index.js:25:894) [15:16:31.166] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:31.166] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:31.166] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:31.166] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:31.166] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:31.247] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 search-props [15:16:31.247] 异常 TypeError: Cannot convert undefined or null to object [15:16:31.247] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:31.247] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:31.247] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:31.247] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:31.248] at async l (/vercel/path0/.next/server/pages/search.js:1:1305) [15:16:31.248] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:31.248] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:31.248] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:31.248] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:31.248] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:31.322] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 SignIn [15:16:31.322] 异常 TypeError: Cannot convert undefined or null to object [15:16:31.322] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:31.322] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:31.323] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:31.323] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:31.323] at async c (/vercel/path0/.next/server/pages/signin.js:1:1310) [15:16:31.323] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:31.323] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:31.323] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:31.323] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:31.323] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:31.323] missing block undefined [15:16:31.411] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 SignIn [15:16:31.411] 异常 TypeError: Cannot convert undefined or null to object [15:16:31.412] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:31.412] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:31.412] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:31.412] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:31.412] at async c (/vercel/path0/.next/server/pages/signup.js:1:1310) [15:16:31.412] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:31.412] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:31.413] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:31.413] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:31.413] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:31.413] missing block undefined [15:16:31.486] [Fetching Data] 10aaa15c3d8080b7bbb1d74e252e76f9 tag-index-props [15:16:31.487] 异常 TypeError: Cannot convert undefined or null to object [15:16:31.487] at h (/vercel/path0/.next/server/chunks/36362.js:2:8403) [15:16:31.487] at R (/vercel/path0/.next/server/chunks/36362.js:2:1272) [15:16:31.487] at async O (/vercel/path0/.next/server/chunks/36362.js:1:2210) [15:16:31.488] at async m (/vercel/path0/.next/server/chunks/36362.js:1:2029) [15:16:31.488] at async c (/vercel/path0/.next/server/pages/tag.js:1:1304) [15:16:31.488] at async e3 (/vercel/path0/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js:25:3907) [15:16:31.488] at async exportPages (/vercel/path0/node_modules/next/dist/export/routes/pages.js:84:28) [15:16:31.488] at async exportPageImpl (/vercel/path0/node_modules/next/dist/export/worker.js:205:16) [15:16:31.488] at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:154:20) [15:16:31.489] at async Object.exportPage (/vercel/path0/node_modules/next/dist/export/worker.js:236:20) [15:16:31.565] ✓ Generating static pages (23/23) [15:16:31.599] [15:16:31.600] > Export encountered errors on following paths: [15:16:31.600] /: /zh

[15:16:31.600] /archive: /zh/archive [15:16:31.682] error Command failed with exit code 1. [15:16:31.684] info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. [15:16:31.705] Error: Command "yarn run build" exited with 1 [15:16:32.045]

BruceLee569 commented 1 week ago

你的node版本是18么,我用的20版本也是报 RequestError ,换回去就好了。