Skip to content

Actions无法安装 #90

@seaoss

Description

@seaoss

Migration failed: Error: Command failed: wrangler d1 migrations apply *** --remote
✘ [ERROR] Processing wrangler.json configuration:

- Expected "name" to be of type string, alphanumeric and lowercase with dashes only but got "***".

🪵 Logs were written to "/home/runner/.config/.wrangler/logs/wrangler-2026-01-17_10-21-21_392.log"

at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:524:28)
at maybeClose (node:internal/child_process:1104:16)
at ChildProcess._handle.onexit (node:internal/child_process:304:5) {

code: 1,
killed: false,
signal: null,
cmd: 'wrangler d1 migrations apply *** --remote',
stdout: '\n' +
'\n' +
'Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md\n',
stderr: '\x1B[31m✘ \x1B[41;31m[\x1B[41;97mERROR\x1B[41;31m]\x1B[0m \x1B[1mProcessing wrangler.json configuration:\x1B[0m\n' +
'\n' +
' - Expected "name" to be of type string, alphanumeric and lowercase with dashes only but got "".\n' +
'\n' +
'\n' +
'🪵 Logs were written to "/home/runner/.config/.wrangler/logs/wrangler-2026-01-17_10-21-21_392.log"\n'
}
 ELIFECYCLE  Command failed with exit code 1.
❌ Database migration failed: Error: Command failed: pnpm run db:migrate-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 migrateDatabase (/home/runner/work/
//scripts/deploy/index.ts:205:5)
at main (/home/runner/work/
//scripts/deploy/index.ts:446:5) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 2424,
stdout: null,
stderr: null
}
❌ Deployment failed: Error: Command failed: pnpm run db:migrate-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 migrateDatabase (/home/runner/work/
//scripts/deploy/index.ts:205:5)
at main (/home/runner/work/
/***/scripts/deploy/index.ts:446:5) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 2424,
stdout: null,
stderr: null
}
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions