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

[Bug]: protocol.handle is not a function #279

Open
4 tasks done
littleaya opened this issue Apr 24, 2024 · 1 comment
Open
4 tasks done

[Bug]: protocol.handle is not a function #279

littleaya opened this issue Apr 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@littleaya
Copy link

请确保您已阅读以上注意事项,并勾选下方的确认框。

  • 我已经使用一个干净且无其它非必要的插件的环境测试过,问题依旧存在。
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题的ISSUE。
  • 我已知晓并同意,此处仅用于汇报主程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。
  • 我已知晓并同意,如果我不按照模板提供的指示进行填写,则我的 Issue 可能会被无条件删除。

QQNT 版本

qq for linux 3.1.2

LiteLoaderQQNT 版本 (或 Commit Id)

1.1.1

运行环境

Linux

重现步骤

用LiteLoaderQQNT_Install安装了LiteLoaderQQNT,在qq启动时发生错误,报错TypeError: protocol.handle is not a function

期望的结果是什么?

正确启动

实际的结果是什么?

初始化或者启动过程中发生错误

日志记录

[LiteLoader]�[0m Plugins directory created successfully!
[ERROR] [Main] TypeError: protocol.handle is not a function
(node:43) UnhandledPromiseRejectionWarning: TypeError: protocol.handle is not a function
at protocolRegister (/opt/LiteLoader/src/main.js:71:18)
at Object.proxyBrowserWindowConstruct [as construct] (/opt/LiteLoader/src/main.js:103:5)
at S.createWin (evalmachine.:1:951586)
at R.createWindow (evalmachine.:1:954103)
at R.getWindow (evalmachine.:1:953511)
at K.createWindow (evalmachine.:1:957084)
at _s.initWindow (evalmachine.:1:983486)
at new e (evalmachine.:1:980365)
at new _s (evalmachine.:1:572931)
at Object.getWindow (evalmachine.:1:955551)
(Use qq --trace-warnings ... to show where the warning was created)
(node:43) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

补充说明(可选)

No response

@littleaya littleaya added the bug Something isn't working label Apr 24, 2024
@littleaya
Copy link
Author

求解决方案

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant