Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新bot QQ昵称和头像后出现app TypeError: Cannot read properties of undefined (reading 'type') #53

Open
SCM716 opened this issue Sep 29, 2024 · 0 comments

Comments

@SCM716
Copy link

SCM716 commented Sep 29, 2024

如题,电脑端更新bot 昵称和头像后koishi控制台bot退出登录,并且adapter-onebot和adapter-qq均报错,且将bot的头像和昵称还原之后问题仍然存在。
914A0DB2534E895DF50AB69A8EF333B6

日志信息:

2024-09-28 21:17:43 [E] app TypeError: Cannot read properties of undefined (reading 'type') at Object.get (C:\Users\Ramiya\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\@cordisjs\core\lib\index.cjs:198:) at Reflect.get (<anonymous>) at Object.get (C:\Users\Ramiya\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\@cordisjs\core\lib\index.cjs:1:22) at Reflect.get (<anonymous>) at Object.getRecursive [as $] (C:\Users\Ramiya\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\minato\lib\index.cjs:586:12) at getRecursive (C:\Users\Ramiya\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\minato\lib\index.cjs:591:) at executeEval (C:\Users\Ramiya\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\minato\lib\index.cjs:625:10) at executeEvalExpr (C:\Users\Ramiya\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\minato\lib\index.cjs:605:28) at operators.<computed> [as $eq] (C:\Users\Ramiya\AppData\Roaming\Koishi\Desktop\data\instances\default\node_modules\minato\lib\index.cjs:468:18)

目前尝试:

  1. 重装NT QQ,LiteLoader,llonebot
  2. 清除onebot依赖
  3. 清除channel数据库中的assignee数据
  4. 按时间倒序删除最近安装的插件

后问题仍未解决。

系统信息:

System:
OS: Windows 11 10.0.22631CPU: (4) x64 Intel(R) N100
Binaries:
Node: 20.12.2
Yarn: 4.1.1
Koishi:
Core: 4.18.0
Console: 5.28.4
Koishi Desktop: 1.1.3

@koishijs koishijs deleted a comment Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant