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

4.8.3版本 部署报错:获取到的文章列表为空,请检查notion模板 #3249

Open
Le1a opened this issue Feb 23, 2025 · 2 comments
Assignees

Comments

@Le1a
Copy link

Le1a commented Feb 23, 2025

描述遇到的问题
使用Vercel和本地VPS部署均遇到问题: "获取到的文章列表为空,请检查notion模板"

Error fetching page IDs: TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at l (/vercel/path0/.next/server/chunks/36362.js:2:8477)
at O (/vercel/path0/.next/server/chunks/36362.js:2:926)
at /vercel/path0/.next/server/chunks/36362.js:1:3526
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async d (/vercel/path0/.next/server/chunks/36362.js:1:728)
at async b (/vercel/path0/.next/server/chunks/36362.js:1:3448)
at async A (/vercel/path0/.next/server/chunks/36362.js:1:3316)
at async x (/vercel/path0/.next/server/pages/[prefix]/[slug]/[...suffix].js:1:1428)
at async buildStaticPaths (/vercel/path0/node_modules/next/dist/build/utils.js:788:33)
at async /vercel/path0/node_modules/next/dist/build/utils.js:1220:110
获取到的文章列表为空,请检查notion模板 {
'5b834014-e1ae-42c0-b35f-68fe917630ef': {
'2e482e80-9fc8-4130-9f83-75eb90798e02': {
gallery_groups: [Object],
'group_aggregation:select:漏洞分析': [Object],
'results:select:漏洞分析': [Object],
'group_aggregation:select:uncategorized': [Object],
'results:select:uncategorized': [Object]
},

相应配置
相关的配置,例如notion_page_id;你的网站地址

截图

Image

环境

  • 操作系统: Centos
  • 浏览器 Chrome
@Le1a
Copy link
Author

Le1a commented Feb 23, 2025

在4.7.5的老版本中,运行yarn build 一切正常,在4.8.3版本中运行,则报错 获取不到文章

@Le1a
Copy link
Author

Le1a commented Feb 23, 2025

暂时用回4.7.5的老版本了,手动改了lib/notion/mapImage.js文件,目前图床问题解决了🤣 先用着老版本了,等待作者看看4.8.3部署为啥会出现报错,不知道是不是只有我一个人这样......

@Le1a Le1a closed this as completed Feb 23, 2025
@Le1a Le1a reopened this Feb 23, 2025
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