今天中午重装机器人,onebot装不上

安装完后的日志是这样的
2023-10-24 13:12:42 [W] config failed to resolve koishi-plugin-adapter-onebot
2023-10-24 13:12:42 [W] config Error: Cannot find module ‘koishi-plugin-adapter-onebot’ Require stack: - /home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/registry/lib/index.js - /home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/plugin-config/lib/node/index.js - /home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/loader/lib/index.js - /home/ubuntu/koishi-yn/koishi/node_modules/koishi/lib/worker/index.js at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Function.resolve (node:internal/modules/cjs/helpers:127:19) at _PackageScanner.loadPackage (/home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/registry/lib/index.js:165:29) at _PackageScanner.loadDirectory (/home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/registry/lib/index.js:151:14) at async Promise.all (index 0) at async _PackageScanner._collect (/home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/registry/lib/index.js:138:5) at async _PackageScanner.collect (/home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/registry/lib/index.js:143:5) at async _PackageProvider.collect (/home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/plugin-config/lib/node/index.js:71:5) at async _PackageProvider.get (/home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/plugin-config/lib/shared/index.js:67:22) at async _PackageProvider.refresh (/home/ubuntu/koishi-yn/koishi/node_modules/@koishijs/console/lib/index.js:56:14)

1 个赞

这是加载失败的日志。安装时候的日志是怎么样的?安装成功了吗?

没有成功,我去插件市场下载点击安装,转完说成功了刷新一看没有安装时候在我的插件管理那里,后面回去市场一看还是让我安装,重复操作也是这样,安装时候的日志好像也没有就这些了,打算下午完课再看看

2 个赞

这个只是显示 bug,遇到这个情况直接右键刷新即可。

主要是看你安装时候的日志,下次安装留意一下即可。

1 个赞

image

看起来文件都是在的。

2 个赞