xiangsx / gpt4free-ts

Providing a free OpenAI GPT-4 API ! This is a replication project for the typescript version of xtekky/gpt4free
GNU General Public License v3.0
7.71k stars 1.36k forks source link

最新的镜像启动服务报错 #42

Open bogeit opened 1 year ago

bogeit commented 1 year ago

这两个镜像都试了 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

xiangsx commented 1 year ago

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

xiangsx commented 1 year ago

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

bogeit commented 1 year ago

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

HamiltionSenior commented 1 year ago

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

ZacharyCroft commented 1 year ago

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

MartinMelville commented 1 year ago

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