2024-05-13 10:40:11 [W] app Error: property database is not registered, declare it as inject
to suppress this warning
at checkInject (/koishi/node_modules/@cordisjs/core/lib/index.cjs:826:38)
at Object.get (/koishi/node_modules/@cordisjs/core/lib/index.cjs:836:11)
at ctx.console.addListener.authority (/koishi/node_modules/@koishijs/plugin-sandbox/lib/index.js:236:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async WebSocket.receive (/koishi/node_modules/@koishijs/console/lib/index.js:127:21)
大概是讲@koishijs/plugin-sandbox没有声明database?
不影响使用,但还是反馈一下
System:
OS: Linux 5.10 Alpine Linux
CPU: (2) x64 Intel(R) Xeon(R) Platinum
Binaries:
Node: 20.13.1
Yarn: 4.1.1
Koishi:
Core: 4.17.6
Console: 5.28.4