Skip to content

【部署】Command "yarn run build" exited with 1 #3630

@jim00jim

Description

@jim00jim

描述遇到的问题
部署出错
一:
15:55:38.835
Warning: Detected "engines": { "node": ">=20" } in your package.json that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version

二:
15:55:39.705
warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same destination "/vercel/.cache/yarn/v6/npm-string-width-cjs-4.2.3-integrity/node_modules/string-width-cjs" as pattern ["string-width-cjs@npm:string-width@^4.2.0"]. This could result in non-deterministic behavior, skipping.

三:
15:56:30.124
warning "react-facebook > [email protected]" has incorrect peer dependency "[email protected] || 16.x".
15:56:30.124
warning "react-notion-x > [email protected]" has unmet peer dependency "@babel/runtime@>=7".
15:56:30.125
warning "react-notion-x > [email protected]" has incorrect peer dependency "react@^15 || ^16".
15:56:30.125
warning "react-notion-x > [email protected]" has incorrect peer dependency "react-dom@^15 || ^16".
15:56:30.126
warning "react-notion-x > react-lazy-images > [email protected]" has incorrect peer dependency "react@^15.0.0 || ^16.0.0 || ^17.0.0".

异常 ReferenceError: ids is not defined
Error: Command "yarn run build" exited with 1

相应配置
notion_page_id:08bb17a81ebe417fb61c004642e14646
你的网站地址:gerald.dpdns.org

截图

Image

环境

  • 操作系统: windows
  • 浏览器 chrome
  • 版本141.0.7390.55(正式版本)

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions