Replies: 12 comments
-
请问这是在安装什么插件后发生的? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
我也不知道是不是这个报错,崩了好几次了一直没好意思问😭 |
Beta Was this translation helpful? Give feedback.
-
你可以尝试关闭一些插件然后看看能否正常启动,这有助于定位问题。
只要能定位到问题,你的提问也能帮助我们改进的。 |
Beta Was this translation helpful? Give feedback.
-
是用yarn remove吗,我之前用过但是看list里面还是有安装 |
Beta Was this translation helpful? Give feedback.
-
打开 koishi.yml,然后把要停用的插件前面加上 ~ 即可: - dialogue:
+ ~dialogue: 就像这样。(顺便 dialogue 插件现版本确实还不可用) |
Beta Was this translation helpful? Give feedback.
-
感谢,把favor插件关掉了,项目可以起来但是又报了新错,找不到语言包吧好像是,不过好像不影响?还有想请教spammer插件的,怎么样让他发送给qq好友呢 |
Beta Was this translation helpful? Give feedback.
-
这些是插件的问题,建议去插件的仓库下面提意见。 dialogue 是我开发的,我会尽快修复;spammer 插件我不了解,你可以在插件市场找到它的链接,并前往对应仓库询问。 |
Beta Was this translation helpful? Give feedback.
-
晚上排查了很多插件,最后确定了是favor插件造成无法正常启动和报错的原因 不过还是找不到报错]app Error: Cannot find module './locales/zh'的原因,但是 这个报错并不影响机器人的正常启动 |
Beta Was this translation helpful? Give feedback.
-
哦对,还有adventure插件也无法解析 |
Beta Was this translation helpful? Give feedback.
-
还有就是想通过echo或者broadcast命令机器人向好友发送消息该怎么实现呢,之前用过echo -u target string,但是是在沙盒里面对话并不是qq里 |
Beta Was this translation helpful? Give feedback.
-
这个插件市场包含了许多非官方的作品,我们不对这些插件的质量负责。favor 插件请你自己去联系作者解决。 locales 的报错是由于 dialogue 插件导致的,我会尽快修复。 adventure 插件短时间内不可用,无法解析的话可以删掉。 在 QQ 里你可以 echo -u @onebot:{QQ号} string |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
2022-05-26 13:49:22 [E] app Error: invalid plugin, expect function or object wit
h an "apply" method
at Map.plugin (C:\Users\Administrator\1\koishi-app\n
ode_modules\cordis\lib\index.cjs:261:13)
at App. (C:\Users\Administrator\1\koishi-
app\node_modules\cordis\lib\index.cjs:401:34)
at App.import_core6.Context.plugin (C:\Users\Adminis
trator\1\koishi-app\node_modules\koishi\lib\index.js:397:10)
at Loader.reloadPlugin (C:\Users\Administrator\1\koi
shi-app\node_modules@koishijs\cli\lib\worker\index.js:281:14)
at Loader.createApp (C:\Users\Administrator\1\koishi
-app\node_modules@koishijs\cli\lib\worker\index.js:291:12)
at Object. (C:\Users\Administrator\1\kois
hi-app\node_modules@koishijs\cli\lib\worker\index.js:595:18)
at Module._compile (node:internal/modules/cjs/loader
:1105:14)
at Object.Module._extensions..js (node:internal/modu
les/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981
:32)
at Function.Module._load (node:internal/modules/cjs/
loader:822:12)
error Command failed with exit code 1.
除了上面那个错还无法解析包
[W] market failed to parse koishi-plugin-dialogue-console
Steps to reproduce
修改了全局设置里面的权限
Expected behavior
55
Screenshots
2022-05-26 13:49:18 [I] app trigger full reload
2022-05-26 13:49:21 [I] app Koishi/4.7.1
2022-05-26 13:49:21 [I] app apply plugin console
2022-05-26 13:49:21 [I] app apply plugin logger
2022-05-26 13:49:21 [I] app apply plugin manager
2022-05-26 13:49:21 [I] app apply plugin status
2022-05-26 13:49:21 [I] app apply plugin sandbox
2022-05-26 13:49:21 [I] app apply plugin adapter-onebot
2022-05-26 13:49:22 [I] app apply plugin adapter-discord
2022-05-26 13:49:22 [I] app apply plugin adapter-telegram
2022-05-26 13:49:22 [I] app apply plugin database-memory
2022-05-26 13:49:22 [I] app apply plugin chat
2022-05-26 13:49:22 [I] app apply plugin dataview
2022-05-26 13:49:22 [I] app apply plugin echo
2022-05-26 13:49:22 [I] app apply plugin puppeteer
2022-05-26 13:49:22 [I] app apply plugin schedule
2022-05-26 13:49:22 [I] app apply plugin dialogue
2022-05-26 13:49:22 [I] app apply plugin cache-memcached
2022-05-26 13:49:22 [I] app apply plugin tex
2022-05-26 13:49:22 [I] app apply plugin animal-picture
2022-05-26 13:49:22 [I] app apply plugin baidu
2022-05-26 13:49:22 [I] app apply plugin bvid
2022-05-26 13:49:22 [I] app apply plugin crazy-thursday
2022-05-26 13:49:22 [I] app apply plugin douban
2022-05-26 13:49:22 [I] app apply plugin favor
Versions
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions