升了4.16.0就这样了,后台也没报错
3 个赞
确实存在此问题,不过插件实际可能已经安装成功,可以在日志页面查看插件是否安装成功。安装成功的话,重启 Koishi 即可使用新的插件。
1 个赞
日志有没有报错信息?
1 个赞
这是我点添加插件之后的信息
2023-12-12 00:01:39 [I] market ➤ YN0050: The --registry option is deprecated; prefer setting npmRegistryServer in your .yarnrc.yml file
2023-12-12 00:01:39 [I] market ➤ YN0000: ┌ Resolution step
2023-12-12 00:01:39 [I] market ➤ YN0002: │ @koishijs/loader@npm:4.3.0 [6491d] doesn't provide koishi (p412d5), requested by @koishijs/plugin-server
2023-12-12 00:01:39 [I] market ➤ YN0002: │ @koishijs/plugin-adapter-discord@npm:4.1.7 [dd020] doesn't provide @satorijs/satori (p7ffb2), requested by @satorijs/adapter-discord
2023-12-12 00:01:39 [I] market ➤ YN0002: │ @koishijs/plugin-adapter-kook@npm:4.2.4 [dd020] doesn't provide @satorijs/satori (p2e4bc), requested by @satorijs/adapter-kook
2023-12-12 00:01:40 [I] market ➤ YN0002: │ @koishijs/plugin-adapter-lark@npm:3.1.6 [dd020] doesn't provide @satorijs/satori (p246fe), requested by @satorijs/adapter-lark
2023-12-12 00:01:40 [I] market ➤ YN0002: │ @koishijs/plugin-adapter-onebot@npm:6.0.2 [dd020] doesn't provide @satorijs/satori (pd741c), requested by @satorijs/adapter-onebot
2023-12-12 00:01:40 [I] market ➤ YN0002: │ @koishijs/plugin-adapter-qq@npm:4.2.0 [dd020] doesn't provide @satorijs/satori (pa4511), requested by @satorijs/adapter-qq
2023-12-12 00:01:40 [I] market ➤ YN0002: │ @koishijs/plugin-adapter-telegram@npm:4.1.7 [dd020] doesn't provide @satorijs/satori (p8ef1c), requested by @satorijs/adapter-telegram
2023-12-12 00:01:40 [I] market ➤ YN0002: │ @koishijs/plugin-database-sqlite@npm:3.8.2 [dd020] doesn't provide @minatojs/core (p04f73), requested by @minatojs/driver-sqlite
2023-12-12 00:01:40 [I] market ➤ YN0002: │ @koishijs/plugin-server-proxy@npm:1.0.2 [dd020] doesn't provide @satorijs/satori (pd924b), requested by @satorijs/server-proxy
2023-12-12 00:01:40 [I] market ➤ YN0002: │ @koishijs/plugin-server-temp@npm:1.1.2 [dd020] doesn't provide @satorijs/satori (p0890d), requested by @satorijs/server-temp
2023-12-12 00:01:40 [I] market ➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
2023-12-12 00:01:40 [I] market ➤ YN0000: └ Completed in 0s 435ms
2023-12-12 00:01:40 [I] market ➤ YN0000: ┌ Fetch step
2023-12-12 00:01:40 [I] market ➤ YN0013: │ koishi-plugin-adapter-red@npm:2.4.4 can't be found in the cache and will be fetched from the remote registry
2023-12-12 00:01:40 [I] market ➤ YN0013: │ silk-wasm@npm:3.1.0 can't be found in the cache and will be fetched from the remote registry
2023-12-12 00:01:41 [I] market ➤ YN0000: └ Completed in 1s 181ms
2023-12-12 00:01:41 [I] market ➤ YN0000: ┌ Link step
2023-12-12 00:01:41 [I] market ➤ YN0000: └ Completed in 0s 547ms
2023-12-12 00:01:42 [I] market ➤ YN0000: Done with warnings in 2s 494ms
2023-12-12 00:01:43 [E] loader TypeError: Cannot read properties of undefined (reading 'ctx')
at Proxy.unload (C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\@koishijs\plugin-config\lib\shared\index.js:270:30)
at _Client.ctx.console.addListener.authority (C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\@koishijs\plugin-config\lib\shared\index.js:189:27)
at WebSocket.receive (C:\Users\Administrator\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\@koishijs\console\lib\index.js:127:45)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
2 个赞
最新版本应该已修复此问题,感谢反馈。
3 个赞
3 个赞