gpt4free-ts icon indicating copy to clipboard operation
gpt4free-ts copied to clipboard

最新的镜像启动服务报错

Open bogeit opened this issue 1 year ago • 6 comments

这两个镜像都试了 xiangsx/gpt4free-ts:latest xiangsx/gpt4free-ts:v0.0.16

启动报错: node:internal/modules/cjs/loader:1078 throw err; ^

Error: Cannot find module '/usr/src/app/server' at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }

Node.js v18.16.0

bogeit avatar Jun 07 '23 02:06 bogeit

你这我还是第一次看见这个错误

xiangsx avatar Jun 07 '23 03:06 xiangsx

你这个文件夹是怎么出现的,可以排查下 /usr/src/app/server

xiangsx avatar Jun 07 '23 03:06 xiangsx

sorry, 我是在k8s中运行,yaml配置写得有点问题,已经修正能正常运行,谢谢!

bogeit avatar Jun 07 '23 04:06 bogeit

你这我还是第一次看见这个错误

HamiltionSenior avatar Jun 14 '23 12:06 HamiltionSenior

你这我还是第一次看见这个错误

ZacharyCroft avatar Jun 14 '23 12:06 ZacharyCroft

我还是第一次看见这个错误

MartinMelville avatar Jun 14 '23 13:06 MartinMelville