机器人数据库更换成MySQL后没反应

只要一接收到信息就报
2024-02-21 10:06:39 [W] session 签到
TypeError: Cannot read properties of undefined (reading ‘logger’)
at getTypeDef (C:\date\koishi\node_modules@minatojs\driver-mysql\lib\index.js:80:14)
at MySQLDriver.prepare (C:\date\koishi\node_modules@minatojs\driver-mysql\lib\index.js:365:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Proxy.prepare (C:\date\koishi\node_modules\minato\lib\index.cjs:614:5)
2024-02-21 10:06:39 [W] app TypeError: Cannot read properties of undefined (reading ‘logger’)
at getTypeDef (C:\date\koishi\node_modules@minatojs\driver-mysql\lib\index.js:80:14)
at MySQLDriver.prepare (C:\date\koishi\node_modules@minatojs\driver-mysql\lib\index.js:365:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Proxy.prepare (C:\date\koishi\node_modules\minato\lib\index.cjs:614:5)

1 个赞

应该是 mysql 插件安装了最新版,但其他依赖并没有先升级到最新版导致的。

安装大型插件前建议先备份后小火箭。

2 个赞