NotionNext icon indicating copy to clipboard operation
NotionNext copied to clipboard

[部署问题] 使用CloudFlarePage部署初始模板报错

Open StarsHu opened this issue 1 year ago • 1 comments

描述遇到的问题 使用初始模板尝试CloudFlarePage部署失败

相应配置 代码版本up to date screenshot-20240301-152206

notion模板直接使用原始模板, pageId为02ab3b8678004aa69e9e415905ef32a5 screenshot-20240301-152138

截图 相关的页面,应该用结果

2024-03-01T07:18:15.490852Z Cloning repository... 2024-03-01T07:18:16.384213Z From https://github.com/StarsHu/NotionNext 2024-03-01T07:18:16.384902Z * branch fc478a9e9af443f85c802c39a3513b2b2ba17a55 -> FETCH_HEAD 2024-03-01T07:18:16.385048Z 2024-03-01T07:18:16.495221Z HEAD is now at fc478a9 nothing but important 2024-03-01T07:18:16.495948Z 2024-03-01T07:18:16.589749Z 2024-03-01T07:18:16.590533Z Using v2 root directory strategy 2024-03-01T07:18:16.620574Z Success: Finished cloning repository files 2024-03-01T07:18:17.334939Z Detected the following tools from environment: [email protected], [email protected] 2024-03-01T07:18:17.335692Z Installing nodejs 16.20.2 2024-03-01T07:18:17.421859Z nodejs 16.20.2 is already installed 2024-03-01T07:18:18.640131Z Preparing [email protected] for immediate activation... 2024-03-01T07:18:19.140933Z Installing project dependencies: yarn 2024-03-01T07:18:19.799425Z ➤ YN0070: Migrating from Yarn 1; automatically enabling the compatibility node-modules linker 👍 2024-03-01T07:18:19.79978Z 2024-03-01T07:18:19.895301Z ➤ YN0000: ┌ Resolution step 2024-03-01T07:18:24.768512Z ➤ YN0032: │ fsevents@npm:2.3.3: Implicit dependencies on node-gyp are discouraged 2024-03-01T07:18:28.725655Z ➤ YN0002: │ @aws-sdk/token-providers@npm:3.504.0 doesn't provide @aws-sdk/credential-provider-node (p663c1), requested by @aws-sdk/client-sso-oidc 2024-03-01T07:18:28.725998Z ➤ YN0002: │ @vueuse/core@npm:10.7.2 doesn't provide vue (p09987), requested by vue-demi 2024-03-01T07:18:28.726192Z ➤ YN0002: │ @vueuse/shared@npm:10.7.2 doesn't provide vue (p52e19), requested by vue-demi 2024-03-01T07:18:28.726369Z ➤ YN0060: │ notion-next@workspace:. provides react (p5f265) with version 18.2.0, which doesn't satisfy what react-facebook and some of its descendants request 2024-03-01T07:18:28.726575Z ➤ YN0060: │ notion-next@workspace:. provides react (pef49f) with version 18.2.0, which doesn't satisfy what react-notion-x and some of its descendants request 2024-03-01T07:18:28.726743Z ➤ YN0060: │ notion-next@workspace:. provides react-dom (p8f4b1) with version 18.2.0, which doesn't satisfy what react-notion-x and some of its descendants request 2024-03-01T07:18:28.727015Z ➤ YN0002: │ react-notion-x@npm:6.16.0 [1bfe9] doesn't provide @babel/runtime (p9bd47), requested by react-image 2024-03-01T07:18:28.727201Z ➤ YN0002: │ react-pdf@npm:5.7.2 [36aba] doesn't provide webpack (p721d9), requested by file-loader 2024-03-01T07:18:28.727369Z ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code 2024-03-01T07:18:28.73085Z ➤ YN0000: └ Completed in 8s 835ms 2024-03-01T07:18:28.779183Z ➤ YN0000: ┌ Post-resolution validation 2024-03-01T07:18:28.77949Z ➤ YN0028: │ The lockfile would have been modified by this install, which is explicitly forbidden. 2024-03-01T07:18:28.77968Z ➤ YN0000: └ Completed 2024-03-01T07:18:28.780048Z ➤ YN0000: Failed with errors in 8s 889ms 2024-03-01T07:18:28.845107Z Error: Exit with error code: 1 2024-03-01T07:18:28.845378Z at ChildProcess. (/snapshot/dist/run-build.js) 2024-03-01T07:18:28.845662Z at Object.onceWrapper (node:events:652:26) 2024-03-01T07:18:28.845856Z at ChildProcess.emit (node:events:537:28) 2024-03-01T07:18:28.845994Z at ChildProcess._handle.onexit (node:internal/child_process:291:12) 2024-03-01T07:18:28.854145Z Failed: build command exited with code: 1 2024-03-01T07:18:29.680002Z Failed: error occurred while running build command

环境

  • 操作系统: [例如. iOS, Android, macOS, windows]
  • 浏览器 [例如. chrome, safari, firefox]
  • 版本 [e.g. 22]

StarsHu avatar Mar 01 '24 07:03 StarsHu

降级为旧版构建环境,然后点击重试

image

image

tangly1024 avatar Mar 01 '24 07:03 tangly1024