收起左侧

飞牛使用docker部署affine报错

2
回复
47
查看
[ 复制链接 ]

1

主题

1

回帖

0

牛值

江湖小虾

悬赏10飞牛币未解决

应用中心里也有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
收藏
送赞
分享

1

主题

12

回帖

0

牛值

江湖小虾

我写了一篇自己部署的经验,你可以参考一下。

https://club.fnnas.com/forum.php?mod=viewthread&tid=39821&page=1#pid189961

ZCQ
谢谢,已经解决了,重启fnos后再重新部署就正常了  详情 回复
昨天 18:59

1

主题

1

回帖

0

牛值

江湖小虾

昨天 18:59 楼主 显示全部楼层
chencaijun 发表于 2025-11-4 19:14
我写了一篇自己部署的经验,你可以参考一下。
https://club.fnnas.com/forum.php?mod=viewthread&tid=39821 ...

谢谢,已经解决了,重启fnos后再重新部署就正常了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则