Kokoro-js / koishi-plugin-minecraft

5 stars 0 forks source link

【建议】降低 puppeteer 依赖版本 #1

Closed Mcayear closed 1 year ago

Mcayear commented 1 year ago

image 需要^3.5.0,但是ubuntu的puppeteer只支持到 3.4.11。

建议改为 ^3.0.2 以提供给更多设备使用。

ahdg6 commented 1 year ago

事实上我根本没用到 puppeteer,package 删掉就好了

ahdg6 commented 1 year ago

反馈一下0.6.3能用吗

Mcayear commented 1 year ago

koishi识别不到任何命令😟。可能我操作有误? JPEG_20230605_164807_858594667403297264

ahdg6 commented 1 year ago

啊?看看日志

ahdg6 commented 1 year ago

图片 我测试没问题,你要不发个日志?

Mcayear commented 1 year ago
2023-06-05 17:16:05 [I] app unload plugin minecraft:haz5ba
2023-06-05 17:16:07 [I] app apply plugin minecraft:haz5ba
2023-06-05 17:16:07 [W] app Error: Cannot find module './locales/zh-CN.yml'
                        Require stack:
                        - /koishi/node_modules/koishi-plugin-minecraft/lib/index.js
                        - /koishi/node_modules/@koishijs/loader/lib/index.js
                        - /koishi/node_modules/koishi/lib/worker/index.js
                            at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15)
                            at Module._load (node:internal/modules/cjs/loader:920:27)
                            at Module.require (node:internal/modules/cjs/loader:1141:19)
                            at require (node:internal/modules/cjs/helpers:110:18)
                            at Object.apply (/koishi/node_modules/koishi-plugin-minecraft/lib/index.js:38:27)
                            at /koishi/node_modules/cordis/lib/index.cjs:415:40
                            at MainScope.ensure (/koishi/node_modules/cordis/lib/index.cjs:257:18)
                            at MainScope.apply (/koishi/node_modules/cordis/lib/index.cjs:415:14)
                            at MainScope.start (/koishi/node_modules/cordis/lib/index.cjs:475:12)
                            at MainScope.restart (/koishi/node_modules/cordis/lib/index.cjs:235:10)
ahdg6 commented 1 year ago

hmmm,推了个 0.6.4,刷新安装后应该就解决了,小问题