Koishi在更新插件后,侧栏按钮消失

在一次更新插件后,我的koishi页面变成了这样

我尝试重启服务器,然后运行了 koi daemon stop, 并且运行了 koi yarn -n default

输出为:

jingming295@jingming295-PowerEdge-R730:~/Desktop$ ./koi.AppImage yarn -n default
0000|2024-04-27 08:25:18 [I] launcher Koishi Desktop v1.0.2
0101|2024-04-27 08:25:24 [I] launcher Running command:
0101|                        []string{}
0101|                        On instance: default
2100|➤ YN0000: · Yarn 4.0.1
2100|➤ YN0000: ┌ Resolution step
2100|➤ YN0000: └ Completed
2100|➤ YN0000: ┌ Post-resolution validation
2100|➤ YN0060: │ koishi is listed by your project with version 4.17.5, which doesn't satisfy what koishi-plugin-adapter-iirose (p430d0) requests (4.17.4).
2100|➤ YN0002: │ @koishijs/boilerplate@workspace:. doesn't provide canvas (p578b2), requested by koishi-plugin-shudu.
2100|➤ YN0002: │ @koishijs/boilerplate@workspace:. doesn't provide @koishijs/loader (p9c3da), requested by @koishijs/plugin-config.
2100|➤ YN0002: │ @koishijs/boilerplate@workspace:. doesn't provide koishi-plugin-adapter-onebot (p4402b), requested by @snakelet/koishi-plugin-norn-dice.
2100|➤ YN0086: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
2100|➤ YN0000: ┌ Fetch step
2100|➤ YN0000: └ Completed
2100|➤ YN0000: └ Completed
2100|➤ YN0000: ┌ Link step
2100|➤ YN0000: └ Completed
2100|➤ YN0000: · Done with warnings in 0s 568ms

但是这不管用,进去了还是变只有两个按钮,问题依旧。

这是控制台输出

3 个赞

用了最简单的方法,卸了重新安,问题完美了解决 :partying_face:

3 个赞

草怎么是我刚刚的问题(

2 个赞

不可能卸了的

3 个赞

这个确实是解决办法

4 个赞

一样的问题。
把 yarn.lock 和 node_modules 删了后重新 yarn,再重启即可

3 个赞