koishijs / koishi-plugin-booru

Image service for Koishi | 最好的涩图插件!
https://booru.koishi.chat
MIT License
12 stars 8 forks source link

Bug: 插件无法正常加载 #63

Closed fatinghenji closed 1 year ago

fatinghenji commented 1 year ago

Describe the bug

从插件市场下载安装后无法正常加载。

Steps to reproduce

如上

Expected behavior

正常加载和启用

Screenshots

2023-04-11 13:42:22 [W] app Error: Cannot find module './locales/zh-cn' Require stack:

Relevant log output

2023-04-11 13:42:22 [W] app Error: Cannot find module './locales/zh-cn'
                        Require stack:
                        - /home/koishi-app/node_modules/koishi-plugin-booru/lib/index.js
                        - /home/koishi-app/node_modules/@koishijs/loader/lib/index.js
                        - /home/koishi-app/node_modules/koishi/lib/worker/index.js
                            at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                            at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                            at Module.require (node:internal/modules/cjs/loader:1005:19)
                            at require (node:internal/modules/cjs/helpers:102:18)
                            at Object.apply (/home/koishi-app/node_modules/koishi-plugin-booru/lib/index.js:111:27)
                            at /home/koishi-app/node_modules/cordis/lib/index.cjs:415:40
                            at MainScope.ensure (/home/koishi-app/node_modules/cordis/lib/index.cjs:257:18)
                            at MainScope.apply (/home/koishi-app/node_modules/cordis/lib/index.cjs:415:14)
                            at MainScope.start (/home/koishi-app/node_modules/cordis/lib/index.cjs:475:12)
                            at MainScope.restart (/home/koishi-app/node_modules/cordis/lib/index.cjs:235:10)

Launcher

Koishi Android

Sources

Danbooru, Gelbooru, Konachan.com (NSFW), Konachan.net (SFW), Lolibooru, Lolicon, Pixiv, Safebooru, SankakuComplex, Yande.re

Versions

Additional context

No response

MaikoTan commented 1 year ago

已確認,會被修復在下一個版本。

Confirmed, would be fixed in the next version.