如果 telemetry 插件出现了问题,可以在此贴下方进行反馈。
能否先简单介绍一下 telemetry 当前的收集行为和项目?我似乎没有找到说明
当前,telemetry 不收集任何行为或任何项目。
1 个赞
更新了0.2.2版本之后,出现报错
2024-05-21 21:27:19 [E] app TypeError: Cannot read properties of undefined (reading 'extend')
at new TelemetryBasis (/koishi/node_modules/koishi-plugin-telemetry/lib/plugins/basis.js:13:30)
at MainScope.apply (/koishi/node_modules/@cordisjs/core/lib/index.cjs:622:24)
at /koishi/node_modules/@cordisjs/core/lib/index.cjs:645:49
at MainScope.ensure (/koishi/node_modules/@cordisjs/core/lib/index.cjs:386:18)
at MainScope.start (/koishi/node_modules/@cordisjs/core/lib/index.cjs:645:12)
at MainScope.init (/koishi/node_modules/@cordisjs/core/lib/index.cjs:433:12)
at new MainScope (/koishi/node_modules/@cordisjs/core/lib/index.cjs:558:12)
at Proxy.plugin (/koishi/node_modules/@cordisjs/core/lib/index.cjs:761:15)
at Object.apply (/koishi/node_modules/koishi-plugin-telemetry/lib/index.js:33:9)
at MainScope.apply (/koishi/node_modules/@cordisjs/core/lib/index.cjs:620:26)
配置界面如下:
1 个赞
出现这个问题的话,最常见的一种情况就是你在使用 Koishi 的远古版本。请先使用小火箭将 Koishi 更新到最新版本。小火箭的用法:
1 个赞
我的问题,忘记贴环境信息了,但确实是最新版的了,目前用到的所有依赖也都是最新版
2024-05-22 07:18:37 [E] app TypeError: Cannot read properties of undefined (reading 'extend')
at new TelemetryBasis (/koishi/node_modules/koishi-plugin-telemetry/lib/plugins/basis.js:13:30)
at MainScope.apply (/koishi/node_modules/@cordisjs/core/lib/index.cjs:622:24)
at /koishi/node_modules/@cordisjs/core/lib/index.cjs:645:49
at MainScope.ensure (/koishi/node_modules/@cordisjs/core/lib/index.cjs:386:18)
at MainScope.start (/koishi/node_modules/@cordisjs/core/lib/index.cjs:645:12)
at MainScope.init (/koishi/node_modules/@cordisjs/core/lib/index.cjs:433:12)
at new MainScope (/koishi/node_modules/@cordisjs/core/lib/index.cjs:558:12)
at Proxy.plugin (/koishi/node_modules/@cordisjs/core/lib/index.cjs:761:15)
at Object.apply (/koishi/node_modules/koishi-plugin-telemetry/lib/index.js:33:9)
at MainScope.apply (/koishi/node_modules/@cordisjs/core/lib/index.cjs:620:26)
同时在欢迎界面点击“同意”按钮后,配置界面出现“设备信息获取失败”
环境信息:
System:
OS: Linux 5.10 Alpine Linux
CPU: (2) x64 Intel(R) Xeon(R) Platinum
Binaries:
Node: 20.13.1
Yarn: 4.1.1
Koishi:
Core: 4.17.6
Console: 5.28.4
1 个赞