mirror of
https://github.com/beilunyang/moepush.git
synced 2026-04-26 20:15:49 +03:00
[GH-ISSUE #25] 已解决:Run deploy script出错 #18
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/moepush#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
求解,谢谢
@wyy000111 commented on GitHub (Jun 5, 2025):
删除项目重新fork,参数重新设置后部署成功