[GH-ISSUE #2607] 打开Electerm 出现BUG(提示终端连接失败、重连后Cannot set properties of undefined (setting 'onclose')) #1692

Closed
opened 2026-02-27 00:04:29 +03:00 by kerem · 13 comments
Owner

Originally created by @Long-Tu on GitHub (Aug 16, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2607

Electerm Version(Electerm版本和后缀.deb, .rpm...)

Electerm Version 1.22.30

Platform detail (平台详情)

Windows 10 专业版 21H2 内部版本(19044.1889)

What steps will reproduce the bug?(重新问题的详细步骤)

1、electerm打开后提示终端连接失败

图片

2、重新连接报错

error
Cannot set properties of undefined (setting 'onclose')
图片

What should have happened?(期望的结果)

正常远程连接远程机器

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @Long-Tu on GitHub (Aug 16, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2607 ### Electerm Version(Electerm版本和后缀.deb, .rpm...) Electerm Version 1.22.30 ### Platform detail (平台详情) Windows 10 专业版 21H2 内部版本(19044.1889) ### What steps will reproduce the bug?(重新问题的详细步骤) # 1、electerm打开后提示终端连接失败 ![图片](https://user-images.githubusercontent.com/37840939/184783859-8dffa955-6e05-4ca3-b7b1-ec24e59bfbca.png) # 2、重新连接报错 error Cannot set properties of undefined (setting 'onclose') ![图片](https://user-images.githubusercontent.com/37840939/184783889-3d1e34cd-a241-4519-8eed-702bd16a267d.png) ### What should have happened?(期望的结果) # 正常远程连接远程机器 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem closed this issue 2026-02-27 00:04:29 +03:00
Author
Owner

@zxdong262 commented on GitHub (Aug 16, 2022):

可以命令行运行看看什么输出吗

<!-- gh-comment-id:1216111747 --> @zxdong262 commented on GitHub (Aug 16, 2022): 可以命令行运行看看什么输出吗
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

@.***

从 Windows 版邮件https://go.microsoft.com/fwlink/?LinkId=550986发送

发件人: ZHAO @.>
发送时间: 2022年8月16日 11:52
收件人: @.
>
抄送: @.>; @.>
主题: Re: [electerm/electerm] 打开Electerm 出现BUG(提示终端连接失败、重连后Cannot set properties of undefined (setting 'onclose')) (Issue #2607)

可以命令行运行看看什么输出吗


Reply to this email directly, view it on GitHubhttps://github.com/electerm/electerm/issues/2607#issuecomment-1216111747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJAWQKYXUKLFKZGYPRZT3OLVZMF63ANCNFSM56UC3TSA.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1216172659 --> @Long-Tu commented on GitHub (Aug 16, 2022): ***@***.*** 从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送 发件人: ZHAO ***@***.***> 发送时间: 2022年8月16日 11:52 收件人: ***@***.***> 抄送: ***@***.***>; ***@***.***> 主题: Re: [electerm/electerm] 打开Electerm 出现BUG(提示终端连接失败、重连后Cannot set properties of undefined (setting 'onclose')) (Issue #2607) 可以命令行运行看看什么输出吗 ― Reply to this email directly, view it on GitHub<https://github.com/electerm/electerm/issues/2607#issuecomment-1216111747>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AJAWQKYXUKLFKZGYPRZT3OLVZMF63ANCNFSM56UC3TSA>. You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

图片

<!-- gh-comment-id:1216173695 --> @Long-Tu commented on GitHub (Aug 16, 2022): ![图片](https://user-images.githubusercontent.com/37840939/184806316-c842561b-78de-4268-8920-e07b9479a1cc.png)
Author
Owner

@zxdong262 commented on GitHub (Aug 16, 2022):

图片

看起来是没有权限运行 node-font-list-fonts.vbs, 管理员权限运行可以吗

<!-- gh-comment-id:1216192891 --> @zxdong262 commented on GitHub (Aug 16, 2022): > ![图片](https://user-images.githubusercontent.com/37840939/184806316-c842561b-78de-4268-8920-e07b9479a1cc.png) 看起来是没有权限运行 node-font-list-fonts.vbs, 管理员权限运行可以吗
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

图片

<!-- gh-comment-id:1216204855 --> @Long-Tu commented on GitHub (Aug 16, 2022): ![图片](https://user-images.githubusercontent.com/37840939/184813140-d2804253-3b47-4471-89b9-b2fd8e613288.png)
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

这个使用管理员还是同样报错

<!-- gh-comment-id:1216205184 --> @Long-Tu commented on GitHub (Aug 16, 2022): 这个使用管理员还是同样报错
Author
Owner

@zxdong262 commented on GitHub (Aug 16, 2022):

下载的是哪个文件呢? tar.gz?

<!-- gh-comment-id:1216207711 --> @zxdong262 commented on GitHub (Aug 16, 2022): 下载的是哪个文件呢? tar.gz?
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

electerm-1.22.30-win-x64-installer.exe

<!-- gh-comment-id:1216239490 --> @Long-Tu commented on GitHub (Aug 16, 2022): electerm-1.22.30-win-x64-installer.exe
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

安装选择的是全部账户进行安装的,这个会不会影响到文件的访问权限

<!-- gh-comment-id:1216264856 --> @Long-Tu commented on GitHub (Aug 16, 2022): 安装选择的是全部账户进行安装的,这个会不会影响到文件的访问权限
Author
Owner

@zxdong262 commented on GitHub (Aug 16, 2022):

安装选择的是全部账户进行安装的,这个会不会影响到文件的访问权限

我没有试过这种方式,可以试试tar.gz包吗

<!-- gh-comment-id:1216269184 --> @zxdong262 commented on GitHub (Aug 16, 2022): > 安装选择的是全部账户进行安装的,这个会不会影响到文件的访问权限 我没有试过这种方式,可以试试tar.gz包吗
Author
Owner

@zxdong262 commented on GitHub (Aug 16, 2022):

安装选择的是全部账户进行安装的,这个会不会影响到文件的访问权限

试了一下,应该不是这个问题

<!-- gh-comment-id:1216282347 --> @zxdong262 commented on GitHub (Aug 16, 2022): > 安装选择的是全部账户进行安装的,这个会不会影响到文件的访问权限 试了一下,应该不是这个问题
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

使用tar.gz绿色安装使用正常

<!-- gh-comment-id:1216336751 --> @Long-Tu commented on GitHub (Aug 16, 2022): 使用tar.gz绿色安装使用正常
Author
Owner

@Long-Tu commented on GitHub (Aug 16, 2022):

图片

<!-- gh-comment-id:1216337438 --> @Long-Tu commented on GitHub (Aug 16, 2022): ![图片](https://user-images.githubusercontent.com/37840939/184839092-e58e566a-92e3-4ceb-83dd-a30673b61b18.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1692
No description provided.