mirror of
https://github.com/electerm/electerm.git
synced 2026-04-25 21:45:56 +03:00
[GH-ISSUE #2446] App does not start on Win 10 with with Error> Error occurred in handler for 'async': TypeError: Cannot read properties of undefined (reading 'setMenu') #1568
Labels
No labels
Linux
Mac
Windows
bug
chor
developing
doc
duplicate
enhancement
feature
feature
feature
help wanted
invalid
need investigate
pull-request
question
test
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/electerm#1568
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akod1ng on GitHub (Apr 12, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2446
Electerm Version(Electerm版本)
1.21.18
Platform detail (平台详情)
Microsoft Windows NT 10.0.19044.0 x64
What steps will reproduce the bug?(重新问题的详细步骤)
Starting the app shows this error when executed via CMD>
Error occurred in handler for 'async': TypeError: Cannot read properties of undefined (reading 'setMenu')
at initApp (C:\Users\ggg\AppData\Local\Programs\electerm\resources\app.asar\lib\init-app.js:34:19)
at Object.init (C:\Users\ggg\AppData\Local\Programs\electerm\resources\app.asar\lib\ipc.js:83:5)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async node:electron/js2c/browser_init:193:563
What should have happened?(期望的结果)
App should start.
Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)
No. Previous version (1.20.6) worked.
Additional information(其他任何相关信息)
Error occurred in handler for 'async': TypeError: Cannot read properties of undefined (reading 'setMenu')
at initApp (C:\Users\ggg\AppData\Local\Programs\electerm\resources\app.asar\lib\init-app.js:34:19)
at Object.init (C:\Users\ggg\AppData\Local\Programs\electerm\resources\app.asar\lib\ipc.js:83:5)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async node:electron/js2c/browser_init:193:563
@quintindunn commented on GitHub (Apr 13, 2022):
Same thing happening to me. Also upon closing the program (Could be caused by the way I closed it by right clicking on the icon on the taskbar and hitting close since there's no close button on the screen it leaves me on) I get the error
@zxdong262 commented on GitHub (Apr 13, 2022):
fixed in 1.21.20