[GH-ISSUE #3035] 升级版本1.34.20后无法打开 #2004

Closed
opened 2026-02-27 00:05:40 +03:00 by kerem · 5 comments
Owner

Originally created by @bb7788 on GitHub (Oct 16, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/3035

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.34.20-mac-x64.dmg

Platform detail (平台详情)

mac os(x64)

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

升级版本1.34.20后无法打开,一直卡在logo的那个界面上。

/Applications/electerm.app/Contents/MacOS/electerm
10:11:47 debug › electerm start
(node:11865) UnhandledPromiseRejectionWarning: Error: The 'screen' module can't be used before the app 'ready' event
    at createScreenIfNeeded (node:electron/js2c/browser_init:2:60992)
    at Object.get (node:electron/js2c/browser_init:2:61034)
    at exports.getScreenCurrent (/Applications/electerm.app/Contents/Resources/app.asar/lib/window-control.js:19:17)
    at exports.getScreenSize (/Applications/electerm.app/Contents/Resources/app.asar/lib/window-control.js:23:26)
    at exports.getWindowSize (/Applications/electerm.app/Contents/Resources/app.asar/lib/window-control.js:60:15)
    at async exports.createWindow (/Applications/electerm.app/Contents/Resources/app.asar/lib/create-window.js:20:29)
(Use `electerm --trace-warnings ...` to show where the warning was created)
(node:11865) 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)

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

能否修复

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

No response

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

No response

Originally created by @bb7788 on GitHub (Oct 16, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/3035 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.34.20-mac-x64.dmg ### Platform detail (平台详情) mac os(x64) ### What steps will reproduce the bug?(重新问题的详细步骤) 升级版本1.34.20后无法打开,一直卡在logo的那个界面上。 ``` /Applications/electerm.app/Contents/MacOS/electerm 10:11:47 debug › electerm start (node:11865) UnhandledPromiseRejectionWarning: Error: The 'screen' module can't be used before the app 'ready' event at createScreenIfNeeded (node:electron/js2c/browser_init:2:60992) at Object.get (node:electron/js2c/browser_init:2:61034) at exports.getScreenCurrent (/Applications/electerm.app/Contents/Resources/app.asar/lib/window-control.js:19:17) at exports.getScreenSize (/Applications/electerm.app/Contents/Resources/app.asar/lib/window-control.js:23:26) at exports.getWindowSize (/Applications/electerm.app/Contents/Resources/app.asar/lib/window-control.js:60:15) at async exports.createWindow (/Applications/electerm.app/Contents/Resources/app.asar/lib/create-window.js:20:29) (Use `electerm --trace-warnings ...` to show where the warning was created) (node:11865) 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) ``` ### 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:05:40 +03:00
Author
Owner

@bb7788 commented on GitHub (Oct 16, 2023):

刚才重新安装v1.30.9后可以打开了,再升级到1.34.20还是同样的问题

<!-- gh-comment-id:1763633908 --> @bb7788 commented on GitHub (Oct 16, 2023): 刚才重新安装v1.30.9后可以打开了,再升级到1.34.20还是同样的问题
Author
Owner

@bb7788 commented on GitHub (Oct 16, 2023):

v1.30.9 突然界面乱了,重启也不好用,”书签“、”访问历史“,”批处理操作“,能显示出来,其他的点击就出现“只能在主窗口中执行此操作”,”批处理操作“界面还显示有问题。
image
image
image

<!-- gh-comment-id:1763672696 --> @bb7788 commented on GitHub (Oct 16, 2023): v1.30.9 突然界面乱了,重启也不好用,”书签“、”访问历史“,”批处理操作“,能显示出来,其他的点击就出现“只能在主窗口中执行此操作”,”批处理操作“界面还显示有问题。 <img width="1680" alt="image" src="https://github.com/electerm/electerm/assets/14172278/a1012c0f-d11d-42d5-aef6-872d0f37befd"> <img width="1081" alt="image" src="https://github.com/electerm/electerm/assets/14172278/4485acb0-f6b7-41b9-8468-fd9921329f86"> <img width="1680" alt="image" src="https://github.com/electerm/electerm/assets/14172278/3bfcae92-1e2a-4abe-80aa-7b0a6c1fb55f">
Author
Owner

@zxdong262 commented on GitHub (Oct 16, 2023):

感谢反馈,将在下个版本试图修复

<!-- gh-comment-id:1764184898 --> @zxdong262 commented on GitHub (Oct 16, 2023): 感谢反馈,将在下个版本试图修复
Author
Owner

@zxdong262 commented on GitHub (Oct 16, 2023):

发布了新版,可以试试吗 https://github.com/electerm/electerm/releases

<!-- gh-comment-id:1764248076 --> @zxdong262 commented on GitHub (Oct 16, 2023): 发布了新版,可以试试吗 https://github.com/electerm/electerm/releases
Author
Owner

@bb7788 commented on GitHub (Oct 17, 2023):

发布了新版,可以试试吗 https://github.com/electerm/electerm/releases

还是进不去,卡在logo那里

/Applications/electerm.app/Contents/MacOS/electerm
09:25:50 debug › electerm start
(node:42756) UnhandledPromiseRejectionWarning: Error: Attempted to register a second handler for 'async'
    at IpcMainImpl.handle (node:electron/js2c/browser_init:2:105966)
    at initIpc (/Applications/electerm.app/Contents/Resources/app.asar/lib/ipc.js:163:11)
    at exports.createWindow (/Applications/electerm.app/Contents/Resources/app.asar/lib/create-window.js:44:3)
(Use `electerm --trace-warnings ...` to show where the warning was created)
(node:42756) 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)
<!-- gh-comment-id:1765510103 --> @bb7788 commented on GitHub (Oct 17, 2023): > 发布了新版,可以试试吗 https://github.com/electerm/electerm/releases 还是进不去,卡在logo那里 ``` /Applications/electerm.app/Contents/MacOS/electerm 09:25:50 debug › electerm start (node:42756) UnhandledPromiseRejectionWarning: Error: Attempted to register a second handler for 'async' at IpcMainImpl.handle (node:electron/js2c/browser_init:2:105966) at initIpc (/Applications/electerm.app/Contents/Resources/app.asar/lib/ipc.js:163:11) at exports.createWindow (/Applications/electerm.app/Contents/Resources/app.asar/lib/create-window.js:44:3) (Use `electerm --trace-warnings ...` to show where the warning was created) (node:42756) 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) ```
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#2004
No description provided.