Closed Rinlity closed 1 year ago
有log错误信息吗?
先装chathub0.4.1也是报一样的错,failed parse
2023-05-02 07:56:40 [W] market failed to parse @dingyi222666/koishi-plugin-chathub 2023-05-02 07:56:40 [W] market Error: Cannot find module '@initencounter/vits' Require stack:
能够安装的版本是≤0.3.2,0.4.0和0.4.1都装不上
0.5.0 版本已修复。
dingyi222666/chathub/chat TypeError: undici_1.default.fetch is not a function at Object.fetch (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/utils/request.js:81:37) at Api.getCredentials (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/api.js:160:70) at Api.init (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/api.js:169:24) at Api.request (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/api.js:99:20) at PoeClient.ask (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/client.js:31:39) at PoeAdapter.ask (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/index.js:36:48) at DefaultConversation.ask (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/services/chatService.js:236:53) at async Chat.measureTime (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/chat.js:26:24) at async Chat.chatWithModel (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/chat.js:143:26) at async /home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/chat.js:104:24 2023-05-02 11:35:10 [D] @dingyi222666/chathub/chat [chat-limit/error] 凛(3184015596): 你好
上述是0.5.0的报错,adapter和chathub都是0.5.0
dingyi222666/chathub/chat TypeError: undici_1.default.fetch is not a function at Object.fetch (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/utils/request.js:81:37) at Api.getCredentials (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/api.js:160:70) at Api.init (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/api.js:169:24) at Api.request (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/api.js:99:20) at PoeClient.ask (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/client.js:31:39) at PoeAdapter.ask (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub-poe-adapter/lib/index.js:36:48) at DefaultConversation.ask (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/services/chatService.js:236:53) at async Chat.measureTime (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/chat.js:26:24) at async Chat.chatWithModel (/home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/chat.js:143:26) at async /home/aka/koishi/koishi-app/node_modules/@dingyi222666/koishi-plugin-chathub/lib/chat.js:104:24 2023-05-02 11:35:10 [D] @dingyi222666/chathub/chat [chat-limit/error] 凛(3184015596): 你好
请检查你的node版本,要求大于等于16.8
docker,appimage,zip运行的koishi latest版本均不能正常安装chathub 请告诉我解决方法,感谢//