应用中心里也有affine,奈何版本太低,无法同步本地客户端;想着自己部署,但部署时,一直在报以下错误,大佬有解决的方案吗?
All migrations have been successfully applied.
$ cross-env SERVER_FLAVOR=script node ./dist/main.js run
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
node:internal/errors:983
const err = new Error(message);
^
Error: Command failed: yarn predeploy
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:916:11)
at execSync (node:child_process:988:15)
at runPredeployScript (file:///app/scripts/self-host-predeploy.js:43:3)
at file:///app/scripts/self-host-predeploy.js:88:1
at Module**.run (node:internal/modules/esm/module_**:343:25)
at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:665:26)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:117:5) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 70,
stdout: null,
stderr: null
}
Node.js v22.21.1