[GH-ISSUE #3984] Electerm核心进程崩溃,无法启动 #2756

Closed
opened 2026-02-27 00:54:08 +03:00 by kerem · 2 comments
Owner

Originally created by @ZoruaFox on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/3984

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

electerm-1.100.8-win-x64-installer.exe

Platform detail (平台详情)

Microsoft Windows NT 10.0.26200.0 x64

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

  1. 全新安装 Electerm
  2. 无法启动,出现报错

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

Work as expected

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

无法重现

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

启动时附带的错误日志:

A JavaScript error occurred in the main process Uncaught Exception:
Error: More than 10% of the data file is corrupt, the wrong beforeDeserialization hook may be used. Cautiously refusing to start NeDB to prevent dataloss
   at Persistence.treatRawData(E:\ProgramFiles\electerm\resources\app.asar\node_modules\@yetzt\nedb\lib\persistence.js:242.. 
   at E:\ProgramFiles\electerm\resources\app.asar\node modules\@yetzt\nedb\lib\persistence.js: 281... at FSReqCallback.readFileAfterClose [as oncomplete]
(node:internal/fs/read/context: 68:3)
Originally created by @ZoruaFox on GitHub (Jul 2, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/3984 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.100.8-win-x64-installer.exe ### Platform detail (平台详情) Microsoft Windows NT 10.0.26200.0 x64 ### What steps will reproduce the bug?(重现问题的详细步骤) 1. 全新安装 Electerm 2. 无法启动,出现报错 ### What should have happened?(期望的结果) Work as expected ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) 无法重现 ### Additional information(其他任何相关信息) 启动时附带的错误日志: ```javascript A JavaScript error occurred in the main process Uncaught Exception: Error: More than 10% of the data file is corrupt, the wrong beforeDeserialization hook may be used. Cautiously refusing to start NeDB to prevent dataloss at Persistence.treatRawData(E:\ProgramFiles\electerm\resources\app.asar\node_modules\@yetzt\nedb\lib\persistence.js:242.. at E:\ProgramFiles\electerm\resources\app.asar\node modules\@yetzt\nedb\lib\persistence.js: 281... at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read/context: 68:3) ```
kerem closed this issue 2026-02-27 00:54:08 +03:00
Author
Owner

@ZoruaFox commented on GitHub (Jul 2, 2025):

更新:使用 Geek Uninstaller 工具删除 AppData 的残留文件再次安装恢复正常。

<!-- gh-comment-id:3026780727 --> @ZoruaFox commented on GitHub (Jul 2, 2025): 更新:使用 Geek Uninstaller 工具删除 AppData 的残留文件再次安装恢复正常。
Author
Owner

@zxdong262 commented on GitHub (Jul 3, 2025):

提示是说文件损坏了,可以参考 https://github.com/electerm/electerm/wiki/Troubleshoot 删除数据文件即可

<!-- gh-comment-id:3030682326 --> @zxdong262 commented on GitHub (Jul 3, 2025): 提示是说文件损坏了,可以参考 https://github.com/electerm/electerm/wiki/Troubleshoot 删除数据文件即可
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#2756
No description provided.