先放个报错
[W] app TypeError: source.replace is not a function
at escapeRegExp (/home/akisa/bots/koishi_home/node_modules/@koishijs/utils/lib/index.cjs:264:17)
at Array.map (<anonymous>)
at Object.apply (/home/akisa/bots/koishi_home/node_modules/koishi-plugin-memes-api/lib/index.js:198:44)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
运行正常的实例
出错的实例
不注册类似原版的触发指令就能正常启用插件,但是勾选注册指令再启用插件就报错
到底是哪里出问题了可恶,上面两个实例都是今天新建的模板项目,连的同一个 meme docker ,一个实例能勾选注册指令,另一个实例就报错
System:
OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
CPU: (4) x64 Intel(R) Xeon(R) Platinum 8255C CPU @ 2.50GHz
Binaries:
Node: 18.18.0
Yarn: 4.0.1
Koishi:
Core: 4.15.7
Console: 5.19.5