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.)

Home Page:https://tangly1024.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSS生成错误、无法生成

kkkk24juastin opened this issue · comments

描述bug
【此项必填】简单说明目前出现的现象、相关的错误提示、日志等、截图
rss生成错误
以下是错误代码:
17:05:12.523 | [API-->>请求] from:rss-content id:undefined
17:05:12.525 | [API<<--异常]: Error: invalid notion pageId "undefined"
17:05:12.526 | at E.getPageRaw (file:///vercel/path0/node_modules/notion-client/build/index.js:1:2823)
17:05:12.526 | at E.getPage (file:///vercel/path0/node_modules/notion-client/build/index.js:1:527)
17:05:12.526 | at getPageWithRetry (/vercel/path0/.next/server/chunks/40663.js:1392:40)
17:05:12.526 | at getPage (/vercel/path0/.next/server/chunks/40663.js:1371:23)
17:05:12.526 | at async createFeedContent (/vercel/path0/.next/server/pages/index.js:83:22)
17:05:12.526 | at async generateRss (/vercel/path0/.next/server/pages/index.js:129:22)

期望的正常结果
正常生成不报错

复现步骤
vercel静态部署

环境
[NotionNext 4.5.3]
hexo
vercel
Windows11
chrome

  • 【必填】NotionNext版本 [例如. 4.0.18]
  • 【必填】主题 [例如. hexo]
  • 【必填】部署方案 [例如. vercel]
  • 【可选】操作系统: [例如. iOS, Android, macOS, windows]
  • 【可选】浏览器 [例如. chrome, safari, firefox]
    补充说明
    【可选】与问题相关的其它说明

已在最新提交中修复,请更新