Skip to content

npm run dev 測試啟動時 與 docker 運作到某日忽然出現錯誤 #3624

@epic-c

Description

@epic-c

描述bug
我現在在 main 分支下啟動 notionnext 專案,會出現錯誤

Error: Error serializing .posts[0].pageCoverThumbnail returned from getStaticProps in "/".
Reason: undefined cannot be serialized as JSON. Please use null or omit this value.

期望的正常结果
應該要可以點亮網站

复现步骤
直接回車 npm run dev,沒有特別的調整,有重新 npm i 過

环境

  • 【必填】NotionNext版本 main 分支當前最新 (2025/10/08)
  • 【必填】主题 預設
  • 【必填】部署方案 本機 npm run dev,部署 docker 也有錯誤
  • 【可选】操作系统: windows
  • 【可选】浏览器chrome

补充说明
【可选】与问题相关的其它说明

npm run dev

Image

docker

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions