Tsuk1ko / cq-picsearcher-bot

🤖 基于 saucenao / ascii2d / whatanime 的搜图机器人
https://moe.best/projects/qq-robot-picfinder.html
GNU General Public License v3.0
1.54k stars 216 forks source link

v3.8.1版本启动报错 #411

Closed NeverOvO closed 1 year ago

NeverOvO commented 1 year ago

go-cqhttp版本为1.0.1,启动后error.log输入下述错误 Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@tsuk1ko/cq-websocket' imported from /www/wwwroot/cq-picsearcher-bot-3.8.1/src/index.mjs at new NodeError (node:internal/errors:399:5) at packageResolve (node:internal/modules/esm/resolve:794:9) at moduleResolve (node:internal/modules/esm/resolve:843:20) at ESMLoader.defaultResolve (node:internal/modules/esm/resolve:1058:11) at ESMLoader.resolve (node:internal/modules/esm/loader:323:32) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:172:38) at ModuleWrap. (node:internal/modules/esm/module_job:76:40) at link (node:internal/modules/esm/module_job:75:36) { code: 'ERR_MODULE_NOT_FOUND' }

Tsuk1ko commented 1 year ago

image

NeverOvO commented 1 year ago

我从3.7.0直接升级到3.8.1没去看部署了,已解决,感谢

Tsuk1ko commented 1 year ago

也可以执行一键更新的命令

https://github.com/Tsuk1ko/cq-picsearcher-bot/wiki/%E9%83%A8%E7%BD%B2%E6%B5%81%E7%A8%8B#%E6%9B%B4%E6%96%B0