-
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
👍 good first issueGood for newcomersGood for newcomers🐛 bugSomething isn't workingSomething isn't workingawait feedback
Description
Describe the bug
萌新喵,软件显示无法使用该插件喵
Steps to reproduce
安装了Node.js就这样了喵
Expected behavior
booru系列的好像咱都用不了喵,希望如果是这个原因都可以修改喵
Screenshots
No response
Relevant log output
2025-09-21 03:14:15 [I] loader apply plugin booru:5d34q8
2025-09-21 03:14:15 [E] loader Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\SuskrRyan\AppData\Roaming\Koishi
\Desktop\data\instances\default\node_modules\@satorijs\element\lib\index.js from C:\Users\SuskrRyan\AppData\Roaming\Koish
i\Desktop\data\instances\default\node_modules\koishi-plugin-booru\lib\index.js not supported.
Instead change the require of C:\Users\SuskrRyan\AppData\Roaming\Koishi\Desktop\data\instances\de
fault\node_modules\@satorijs\element\lib\index.js in C:\Users\SuskrRyan\AppData\Roaming\Koishi\Desktop\data\instances\def
ault\node_modules\koishi-plugin-booru\lib\index.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (C:\Users\SuskrRyan\AppData\Roaming\Koishi\Desktop\data\instances\defau
lt\node_modules\koishi-plugin-booru\lib\index.js:77:26)Launcher
Koishi Desktop
Sources
Pixiv
Versions
- OS:
- Adapter:
- Node version:
- Koishi version:
Additional context
没有使用然后图源喵,咱修改koishi-plugin-booru的代码喵,将第77行的require改为import('@satorijs/element')
然后就可以用了喵(前几天的事情不知道是不是这个喵)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
👍 good first issueGood for newcomersGood for newcomers🐛 bugSomething isn't workingSomething isn't workingawait feedback