[GH-ISSUE #25] 已解决:Run deploy script出错 #18

Closed
opened 2026-03-01 14:53:42 +03:00 by kerem · 1 comment
Owner

Originally created by @wyy000111 on GitHub (Jun 5, 2025).
Original GitHub issue: https://github.com/beilunyang/moepush/issues/25

Run pnpm dlx tsx scripts/deploy.ts
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +5
+++++
Progress: resolved 30, reused 1, downloaded 4, added 5, done
.../esbuild@0.25.5/node_modules/esbuild postinstall$ node install.js
.../esbuild@0.25.5/node_modules/esbuild postinstall: Done
Project *** already exists.
Database *** already exists
Deployment failed: Error: Command failed: wrangler d1 migrations apply "" --remote
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at checkExecSyncError (node:child_process:891:11)
at execSync (node:child_process:963:15)
at applyMigrations (/home/runner/work/mo
/mo***/scripts/deploy.ts:54:5)
at main (/home/runner/work/mo***/mo***/scripts/deploy.ts:156:9)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
status: 1,
signal: null,
output: [
null,
<Buffer 0a 20 e2 9b 85 ef b8 8f 20 77 72 61 6e 67 6c 65 72 20 34 2e 31 39 2e 31 0a e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 ... 33 more bytes>,

],
pid: 2394,
stdout: <Buffer 0a 20 e2 9b 85 ef b8 8f 20 77 72 61 6e 67 6c 65 72 20 34 2e 31 39 2e 31 0a e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 ... 33 more bytes>,
stderr:
}
Error: Process completed with exit code 1.

求解,谢谢

Originally created by @wyy000111 on GitHub (Jun 5, 2025). Original GitHub issue: https://github.com/beilunyang/moepush/issues/25 Run pnpm dlx tsx scripts/deploy.ts Progress: resolved 1, reused 0, downloaded 0, added 0 Packages: +5 +++++ Progress: resolved 30, reused 1, downloaded 4, added 5, done .../esbuild@0.25.5/node_modules/esbuild postinstall$ node install.js .../esbuild@0.25.5/node_modules/esbuild postinstall: Done Project *** already exists. Database *** already exists ❌ Deployment failed: Error: Command failed: wrangler d1 migrations apply "***" --remote at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:[14](https://github.com/wyy000111/moepush/actions/runs/15456462844/job/43510317472#step:7:15)) at checkExecSyncError (node:child_process:891:11) at execSync (node:child_process:963:[15](https://github.com/wyy000111/moepush/actions/runs/15456462844/job/43510317472#step:7:16)) at applyMigrations (/home/runner/work/mo***/mo***/scripts/deploy.ts:54:5) at main (/home/runner/work/mo***/mo***/scripts/deploy.ts:156:9) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { status: 1, signal: null, output: [ null, <Buffer 0a [20](https://github.com/wyy000111/moepush/actions/runs/15456462844/job/43510317472#step:7:21) e2 9b 85 ef b8 8f 20 77 72 61 6e 67 6c 65 72 20 34 2e 31 39 2e 31 0a e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 ... 33 more bytes>, <Buffer > ], pid: [23](https://github.com/wyy000111/moepush/actions/runs/15456462844/job/43510317472#step:7:24)94, stdout: <Buffer 0a 20 e2 9b 85 ef b8 8f 20 77 72 61 6e 67 6c 65 72 20 34 2e 31 39 2e 31 0a e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 94 80 e2 ... 33 more bytes>, stderr: <Buffer > } Error: Process completed with exit code 1. 求解,谢谢
kerem closed this issue 2026-03-01 14:53:42 +03:00
Author
Owner

@wyy000111 commented on GitHub (Jun 5, 2025):

删除项目重新fork,参数重新设置后部署成功

<!-- gh-comment-id:2945022475 --> @wyy000111 commented on GitHub (Jun 5, 2025): 删除项目重新fork,参数重新设置后部署成功
Sign in to join this conversation.
No labels
pull-request
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/moepush#18
No description provided.