blockly无法启动qwq

启动后提示024-10-07 00:18:08 [W] app Error: property blockly is not registered, declare it as inject to suppress this warning
at BlocklyVendorDataService.get (/koishi/node_modules/koishi-plugin-blockly/lib/vendor.js:10:25)
at /koishi/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:56:25
at Object.apply (/koishi/node_modules/@satorijs/core/node_modules/@cordisjs/core/lib/index.cjs:171:28)
at /koishi/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:251:57
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async Proxy.broadcast (/koishi/node_modules/@koishijs/plugin-console/node_modules/@koishijs/console/lib/index.js:248:5)
2024-10-07 00:18:08 [W] app Error: property router is not registered, declare it as inject to suppress this warning
at registerStaticFileRoute (/koishi/node_modules/koishi-plugin-blockly/lib/static.js:10:9)
at Object.apply (/koishi/node_modules/koishi-plugin-blockly/lib/index.js:41:42)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-10-07 00:18:08 [E] app TypeError: Cannot read properties of undefined (reading ‘get’)
at registerStaticFileRoute (/koishi/node_modules/koishi-plugin-blockly/lib/static.js:10:16)
at Object.apply (/koishi/node_modules/koishi-plugin-blockly/lib/index.js:41:42)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
并且左侧无由blockly创建的选项
请求大佬们的帮助qwq

1 个赞

这个日志不影响使用


你可以在【依赖管理】卸载blockly,

然后安装 blockly-null

2 个赞