[GH-ISSUE #2377] win11 无法进入,停留在启动界面 #1520

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

Originally created by @underlaw on GitHub (Feb 21, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2377

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version(版本号):

Operating system(linux, macos, or windows7/8/10?)(操作系统):

Expected Behavior(期望的行为)

Can you reproduce the same behavior in other terminal(是否能在其他同类软件中复现):

Current Behavior(当前行为)

Possible Solution(可能的解决办法)

Steps to Reproduce(复现步骤)

Context (Environment)(环境)

win11 dev

Detailed Description(详细描述)

无法进入
image

Suggestions?(建议)

Originally created by @underlaw on GitHub (Feb 21, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2377 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version(版本号): ## Operating system(linux, macos, or windows7/8/10?)(操作系统): ## Expected Behavior(期望的行为) <!--- Tell me what should happen --> ## Can you reproduce the same behavior in other terminal(是否能在其他同类软件中复现): <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior(当前行为) <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution(可能的解决办法) <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce(复现步骤) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment)(环境) win11 dev ## Detailed Description(详细描述) 无法进入 ![image](https://user-images.githubusercontent.com/33020405/154889033-5facebac-a74e-4d70-a8af-f20005fecb08.png) ## Suggestions?(建议) <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem closed this issue 2026-02-27 00:03:52 +03:00
Author
Owner

@zxdong262 commented on GitHub (Feb 28, 2022):

  可以命令行运行看看报什么错误吗

<!-- gh-comment-id:1053734613 --> @zxdong262 commented on GitHub (Feb 28, 2022):   可以命令行运行看看报什么错误吗
Author
Owner

@underlaw commented on GitHub (Mar 4, 2022):

可以命令行运行看看报什么错误吗

命令行,怎么用了

<!-- gh-comment-id:1058786815 --> @underlaw commented on GitHub (Mar 4, 2022): > 可以命令行运行看看报什么错误吗 命令行,怎么用了
Author
Owner

@shendeguize commented on GitHub (Apr 13, 2022):

PS D:\Program Files\electerm> .\electerm.exe
PS D:\Program Files\electerm>
15:12:47 debug › electerm start
[4672:0413/151248.140:ERROR:cache_util_win.cc(20)] Unable to move the cache: �ܾ����ʡ� (0x5)
[4672:0413/151248.141:ERROR:cache_util.cc(146)] Unable to move cache folder C:\Users\50391\AppData\Roaming\electerm\GPUCache to C:\Users\50391\AppData\Roaming\electerm\old_GPUCache_000
[4672:0413/151248.141:ERROR:disk_cache.cc(185)] Unable to create cache
[4672:0413/151248.142:ERROR:shader_disk_cache.cc(612)] Shader Cache Creation failed: -2
15:12:50 info › server runs on 127.0.0.1 30976
15:12:50 debug › error parsing $HOME/.ssh/config
15:12:50 debug › maybe no $HOME/.ssh/config, but it is ok
Error occurred in handler for 'async': TypeError: Cannot read properties of undefined (reading 'setMenu')
at initApp (D:\Program Files\electerm\resources\app.asar\lib\init-app.js:34:19)
at Object.init (D:\Program Files\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

<!-- gh-comment-id:1097640290 --> @shendeguize commented on GitHub (Apr 13, 2022): PS D:\Program Files\electerm> .\electerm.exe PS D:\Program Files\electerm> 15:12:47 debug › electerm start [4672:0413/151248.140:ERROR:cache_util_win.cc(20)] Unable to move the cache: �ܾ����ʡ� (0x5) [4672:0413/151248.141:ERROR:cache_util.cc(146)] Unable to move cache folder C:\Users\50391\AppData\Roaming\electerm\GPUCache to C:\Users\50391\AppData\Roaming\electerm\old_GPUCache_000 [4672:0413/151248.141:ERROR:disk_cache.cc(185)] Unable to create cache [4672:0413/151248.142:ERROR:shader_disk_cache.cc(612)] Shader Cache Creation failed: -2 15:12:50 info › server runs on 127.0.0.1 30976 15:12:50 debug › error parsing $HOME/.ssh/config 15:12:50 debug › maybe no $HOME/.ssh/config, but it is ok Error occurred in handler for 'async': TypeError: Cannot read properties of undefined (reading 'setMenu') at initApp (D:\Program Files\electerm\resources\app.asar\lib\init-app.js:34:19) at Object.init (D:\Program Files\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
Author
Owner

@shendeguize commented on GitHub (Apr 13, 2022):

在将对应的AppData目录解除只读属性后:

PS D:\Program Files\electerm> .\electerm.exe
PS D:\Program Files\electerm>
15:15:44 debug › electerm start
15:15:47 info › server runs on 127.0.0.1 30975
15:15:47 debug › error parsing $HOME/.ssh/config
15:15:47 debug › maybe no $HOME/.ssh/config, but it is ok
Error occurred in handler for 'async': TypeError: Cannot read properties of undefined (reading 'setMenu')
at initApp (D:\Program Files\electerm\resources\app.asar\lib\init-app.js:34:19)
at Object.init (D:\Program Files\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

<!-- gh-comment-id:1097642614 --> @shendeguize commented on GitHub (Apr 13, 2022): 在将对应的AppData目录解除只读属性后: PS D:\Program Files\electerm> .\electerm.exe PS D:\Program Files\electerm> 15:15:44 debug › electerm start 15:15:47 info › server runs on 127.0.0.1 30975 15:15:47 debug › error parsing $HOME/.ssh/config 15:15:47 debug › maybe no $HOME/.ssh/config, but it is ok Error occurred in handler for 'async': TypeError: Cannot read properties of undefined (reading 'setMenu') at initApp (D:\Program Files\electerm\resources\app.asar\lib\init-app.js:34:19) at Object.init (D:\Program Files\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
Author
Owner

@shendeguize commented on GitHub (Apr 13, 2022):

https://github.com/electerm/electerm/releases/tag/v1.21.18降级到v1.21.14
就可以正常启动

<!-- gh-comment-id:1097645905 --> @shendeguize commented on GitHub (Apr 13, 2022): 从https://github.com/electerm/electerm/releases/tag/v1.21.18降级到[v1.21.14](https://github.com/electerm/electerm/releases/tag/v1.21.14) 就可以正常启动
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#1520
No description provided.