NotionNext icon indicating copy to clipboard operation
NotionNext copied to clipboard

cloudfare部署失败

Open baotuo88 opened this issue 4 months ago • 1 comments

描述遇到的问题 cloufare部署失败

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

截图 2025-09-01T10:09:06.820332Z Cloning repository... 2025-09-01T10:09:07.740105Z From https://github.com/baotuo88/NotionNext 2025-09-01T10:09:07.740922Z * branch c05d714c9352acd93d980e9d07dcf73c53246f53 -> FETCH_HEAD 2025-09-01T10:09:07.741044Z 2025-09-01T10:09:07.873278Z HEAD is now at c05d714 simple 主题邮箱隐私 2025-09-01T10:09:07.873746Z 2025-09-01T10:09:07.954009Z 2025-09-01T10:09:07.954576Z Using v2 root directory strategy 2025-09-01T10:09:07.977684Z Success: Finished cloning repository files 2025-09-01T10:09:09.711266Z Checking for configuration in a Wrangler configuration file (BETA) 2025-09-01T10:09:09.711989Z 2025-09-01T10:09:10.812388Z No wrangler.toml file found. Continuing. 2025-09-01T10:09:10.891152Z Detected the following tools from environment: [email protected], [email protected] 2025-09-01T10:09:10.891772Z Installing nodejs 20.10.0 2025-09-01T10:09:11.935433Z Trying to update node-build... ok 2025-09-01T10:09:12.034021Z To follow progress, use 'tail -f /tmp/node-build.20250901100912.494.log' or pass --verbose 2025-09-01T10:09:12.134453Z Downloading node-v20.10.0-linux-x64.tar.gz... 2025-09-01T10:09:12.373995Z -> https://nodejs.org/dist/v20.10.0/node-v20.10.0-linux-x64.tar.gz 2025-09-01T10:09:14.010477Z 2025-09-01T10:09:14.010709Z WARNING: node-v20.10.0-linux-x64 is in LTS Maintenance mode and nearing its end of life. 2025-09-01T10:09:14.010991Z It only receives critical security updates, critical bug fixes and documentation updates. 2025-09-01T10:09:14.011105Z 2025-09-01T10:09:14.011215Z Installing node-v20.10.0-linux-x64... 2025-09-01T10:09:14.412668Z Installed node-v20.10.0-linux-x64 to /opt/buildhome/.asdf/installs/nodejs/20.10.0 2025-09-01T10:09:14.413199Z 2025-09-01T10:09:16.13279Z 2025-09-01T10:09:16.133046Z changed 1 package in 481ms 2025-09-01T10:09:16.146031Z Reshimming asdf nodejs... 2025-09-01T10:09:19.861539Z Preparing [email protected] for immediate activation... 2025-09-01T10:09:20.298411Z Installing project dependencies: yarn 2025-09-01T10:09:20.928496Z ➤ YN0087: Migrated your project to the latest Yarn version 🚀 2025-09-01T10:09:20.928741Z 2025-09-01T10:09:20.930224Z ➤ YN0000: · Yarn 4.9.1 2025-09-01T10:09:20.94405Z ➤ YN0000: ┌ Resolution step 2025-09-01T10:09:30.280363Z ➤ YN0085: │ + @clerk/localizations@npm:3.17.1, @clerk/nextjs@npm:5.7.5, @headlessui/react@npm:1.7.19, @next/bundle-analyzer@npm:12.3.7, and 921 more. 2025-09-01T10:09:30.305713Z ➤ YN0000: └ Completed in 9s 361ms 2025-09-01T10:09:30.307554Z ➤ YN0000: ┌ Post-resolution validation 2025-09-01T10:09:30.30784Z ➤ YN0060: │ react is listed by your project with version 18.3.1 (ped467), which doesn't satisfy what react-spinner-children (via react-facebook) and other dependencies request (but they have non-overlapping ranges!). 2025-09-01T10:09:30.308033Z ➤ YN0060: │ react-dom is listed by your project with version 18.3.1 (pbe43e), which doesn't satisfy what react-lazy-images (via react-notion-x) and other dependencies request (but they have non-overlapping ranges!). 2025-09-01T10:09:30.308264Z ➤ YN0002: │ notion-next@workspace:. doesn't provide @testing-library/dom (p8cfa6), requested by @testing-library/user-event. 2025-09-01T10:09:30.308395Z ➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code. 2025-09-01T10:09:30.308561Z ➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details. 2025-09-01T10:09:30.358949Z ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden. 2025-09-01T10:09:30.359254Z ➤ YN0000: └ Completed 2025-09-01T10:09:30.359427Z ➤ YN0000: · Failed with errors in 9s 429ms 2025-09-01T10:09:30.409929Z Error: Exit with error code: 1 2025-09-01T10:09:30.410255Z at ChildProcess. (/snapshot/dist/run-build.js) 2025-09-01T10:09:30.410757Z at Object.onceWrapper (node:events:652:26) 2025-09-01T10:09:30.41091Z at ChildProcess.emit (node:events:537:28) 2025-09-01T10:09:30.411015Z at ChildProcess._handle.onexit (node:internal/child_process:291:12) 2025-09-01T10:09:30.421668Z Failed: build command exited with code: 1 2025-09-01T10:09:31.789812Z Failed: error occurred while running build command

环境

  • 操作系统: [macOS]
  • 浏览器 [chrome]
  • 版本 [139]

baotuo88 avatar Sep 01 '25 10:09 baotuo88

要不你试试构建版本选低一点试试看,按照作者的教程,没问题,亲测。

alllike996 avatar Sep 02 '25 01:09 alllike996