koishijs / koishi-plugin-blockly

Use blockly to write a plugin for koishi bot
https://blockly.koishi.chat
GNU Affero General Public License v3.0
34 stars 21 forks source link

启用后左侧菜单无Blockly页面 #63

Open Fox-ace opened 3 months ago

Fox-ace commented 3 months ago

LinuxManjaro , 安装插件启用后日志出现报错 `运行日志

2024-08-25 14:14:13 [W] app Error: property blockly is not registered, declare it as inject to suppress this warning at BlocklyVendorDataService.get (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/koishi-plugin-blockly/lib/vendor.js:10:25) at /home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:56:25 at Object.apply (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@cordisjs/core/lib/index.cjs:171:28) at /home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:258:27 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 0) at async Proxy.broadcast (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:253:5)

2024-08-25 14:14:13 [W] app Error: property blockly is not registered, declare it as inject to suppress this warning at BlocklyVendorDataService.get (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/koishi-plugin-blockly/lib/vendor.js:10:25) at /home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:56:25 at Object.apply (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@cordisjs/core/lib/index.cjs:171:28) at /home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:258:27 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Promise.all (index 1) at async Proxy.broadcast (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:253:5)

2024-08-25 14:14:13 [W] app Error: property router is not registered, declare it as inject to suppress this warning at registerStaticFileRoute (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/koishi-plugin-blockly/lib/static.js:10:9) at Object.apply (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/koishi-plugin-blockly/lib/index.js:41:42) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

2024-08-25 14:14:13 [E] app TypeError: Cannot read properties of undefined (reading 'get') at registerStaticFileRoute (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/koishi-plugin-blockly/lib/static.js:10:16) at Object.apply (/home/fox/Develop/koishi-desktop-linux-x64-v1.1.3/data/instances/default/node_modules/koishi-plugin-blockly/lib/index.js:41:42) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)`

Fox-ace commented 3 months ago

1000402863 1000402862