[GH-ISSUE #158] [Bug] Edge One 部署前端报错 #111

Closed
opened 2026-02-27 09:13:20 +03:00 by kerem · 2 comments
Owner

Originally created by @NooAcc on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/maillab/cloud-mail/issues/158

按照教程操作,在构建部署时报错

这是我的构建部署配置:
Image

这是报错的日志:

09:55:07.736
Running build
09:55:10.030
09:55:10.031
builder version 20250925
09:55:10.053
09:55:10.054
Cloning github.com/*****/cloud-mail (Branch: main, Commit: 12b830d)
09:55:11.577
Cloning completed: 1481ms
09:55:11.749
09:55:11.750
Switching node version
09:55:12.701
Now, we're on node version v22.17.1 (npm 10.9.2)
09:55:18.702
09:55:18.702
Running "edgeone pages build"
09:55:20.593
[builder] installCommand npm install
09:55:20.593
[builder] Using shell: sh with args: -c npm install
09:55:27.840
npm error code eresolve
09:55:27.840
npm error eresolve unable to resolve dependency tree
09:55:27.841
npm error
09:55:27.841
npm error while resolving: mail-vue@0.0.0
09:55:27.841
npm error found: vite@7.1.5
09:55:27.841
npm error node_modules/vite
09:55:27.841
npm error   dev vite@"7.1.5" from the root project
09:55:27.842
npm error could not resolve dependency:
09:55:27.842
npm error peer vite@"^5.0.0 || ^6.0.0" from @vitejs/plugin-vue@5.2.4
09:55:27.842
npm error node_modules/@vitejs/plugin-vue
09:55:27.842
npm error   dev @vitejs/plugin-vue@"^5.2.1" from the root project
09:55:27.842
npm error
09:55:27.842
npm error fix the upstream dependency conflict, or retry
09:55:27.843
npm error this command with --force or --legacy-peer-deps
09:55:27.843
npm error to accept an incorrect (and potentially broken) dependency resolution.
09:55:27.843
npm error
09:55:27.843
npm error for a full report see:
09:55:27.843
npm error /tmp/home/.npm/_logs/2025-10-16t01_55_20_868z-eresolve-report.txt
09:55:27.843
npm notice
09:55:27.843
npm notice new major version of npm available! 10.9.2 -> 11.6.2
09:55:27.843
npm notice changelog: https://github.com/npm/cli/releases/tag/v11.6.2
09:55:27.845
npm notice to update run: npm install -g npm@11.6.2
09:55:27.845
npm notice
09:55:27.845
npm error a complete log of this run can be found in: /tmp/home/.npm/_logs/2025-10-16t01_55_20_868z-debug-0.log
09:55:27.884
[builder] installCommand exec time 7291ms
09:55:27.885
[builder] install command failed, exit code: 1
09:55:27.885
edgeone pages build
09:55:27.885
09:55:27.886
options:
09:55:27.886
  -v, --version       show version  [boolean]
09:55:27.886
  -h, --help, --help  show help  [boolean]
09:55:27.886
09:55:27.893
error: command failed with code 1
09:55:27.893
    at childprocess.<anonymous> (/tmp/home/.local/share/fnm/node-versions/v22.11.0/installation/lib/node_modules/@tencent/edgeone/edgeone-dist/cli.js:1902:2158)
09:55:27.893
    at childprocess.emit (node:events:518:28)
09:55:27.894
    at maybeclose (node:internal/child_process:1101:16)
09:55:27.894
    at childprocess._handle.onexit (node:internal/child_process:304:5)
09:55:28.193
09:55:28.195
09:55:28.195
Build error at stage 2 
Originally created by @NooAcc on GitHub (Oct 16, 2025). Original GitHub issue: https://github.com/maillab/cloud-mail/issues/158 **按照教程操作,在构建部署时报错** 这是我的构建部署配置: <img width="395" height="495" alt="Image" src="https://github.com/user-attachments/assets/fd195223-a679-49ea-9e58-0c1120cf7550" /> 这是报错的日志: ``` 09:55:07.736 Running build 09:55:10.030 09:55:10.031 builder version 20250925 09:55:10.053 09:55:10.054 Cloning github.com/*****/cloud-mail (Branch: main, Commit: 12b830d) 09:55:11.577 Cloning completed: 1481ms 09:55:11.749 09:55:11.750 Switching node version 09:55:12.701 Now, we're on node version v22.17.1 (npm 10.9.2) 09:55:18.702 09:55:18.702 Running "edgeone pages build" 09:55:20.593 [builder] installCommand npm install 09:55:20.593 [builder] Using shell: sh with args: -c npm install 09:55:27.840 npm error code eresolve 09:55:27.840 npm error eresolve unable to resolve dependency tree 09:55:27.841 npm error 09:55:27.841 npm error while resolving: mail-vue@0.0.0 09:55:27.841 npm error found: vite@7.1.5 09:55:27.841 npm error node_modules/vite 09:55:27.841 npm error dev vite@"7.1.5" from the root project 09:55:27.842 npm error could not resolve dependency: 09:55:27.842 npm error peer vite@"^5.0.0 || ^6.0.0" from @vitejs/plugin-vue@5.2.4 09:55:27.842 npm error node_modules/@vitejs/plugin-vue 09:55:27.842 npm error dev @vitejs/plugin-vue@"^5.2.1" from the root project 09:55:27.842 npm error 09:55:27.842 npm error fix the upstream dependency conflict, or retry 09:55:27.843 npm error this command with --force or --legacy-peer-deps 09:55:27.843 npm error to accept an incorrect (and potentially broken) dependency resolution. 09:55:27.843 npm error 09:55:27.843 npm error for a full report see: 09:55:27.843 npm error /tmp/home/.npm/_logs/2025-10-16t01_55_20_868z-eresolve-report.txt 09:55:27.843 npm notice 09:55:27.843 npm notice new major version of npm available! 10.9.2 -> 11.6.2 09:55:27.843 npm notice changelog: https://github.com/npm/cli/releases/tag/v11.6.2 09:55:27.845 npm notice to update run: npm install -g npm@11.6.2 09:55:27.845 npm notice 09:55:27.845 npm error a complete log of this run can be found in: /tmp/home/.npm/_logs/2025-10-16t01_55_20_868z-debug-0.log 09:55:27.884 [builder] installCommand exec time 7291ms 09:55:27.885 [builder] install command failed, exit code: 1 09:55:27.885 edgeone pages build 09:55:27.885 09:55:27.886 options: 09:55:27.886 -v, --version show version [boolean] 09:55:27.886 -h, --help, --help show help [boolean] 09:55:27.886 09:55:27.893 error: command failed with code 1 09:55:27.893 at childprocess.<anonymous> (/tmp/home/.local/share/fnm/node-versions/v22.11.0/installation/lib/node_modules/@tencent/edgeone/edgeone-dist/cli.js:1902:2158) 09:55:27.893 at childprocess.emit (node:events:518:28) 09:55:27.894 at maybeclose (node:internal/child_process:1101:16) 09:55:27.894 at childprocess._handle.onexit (node:internal/child_process:304:5) 09:55:28.193 09:55:28.195 09:55:28.195 Build error at stage 2 ```
kerem 2026-02-27 09:13:20 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@eoao commented on GitHub (Oct 18, 2025):

命令 npm 改成 pnpm看看

<!-- gh-comment-id:3417739653 --> @eoao commented on GitHub (Oct 18, 2025): 命令 npm 改成 pnpm看看
Author
Owner

@NooAcc commented on GitHub (Oct 18, 2025):

命令 npm 改成 pnpm看看

没问题了,谢谢你😘

<!-- gh-comment-id:3418062551 --> @NooAcc commented on GitHub (Oct 18, 2025): > 命令 npm 改成 pnpm看看 没问题了,谢谢你😘
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloud-mail-maillab#111
No description provided.