-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
BugSomething isn't workingSomething isn't workingHelp Wanted(请求大佬帮助)Extra attention is neededExtra attention is neededOS: WindowsWindows操作系统Windows操作系统v2.0.02.0.0版本2.0.0版本
Milestone
Description
- 你是否在现有 Issue列表 中搜索过相同问题,但未找到?
Ⅰ. 请说明操作系统及DS的版本号:
- 操作系统:mac下的虚拟机
win11 Arm 24H2 - DS版本号:2.0.0-beta-2: Try support arm64 版本
Ⅱ. 问题描述:
安装后,点击图标没反应 进程在运行,有报错:
[2024-11-27T10:58:35.422] [ERROR] core - Process Uncaught Exception: Error: The specified module could not be found.
\\?\C:\Users\yeyongqi\AppData\Local\Temp\2a66ed48-87a6-448e-a388-cd3740fe4650.tmp.node
at process.func [as dlopen] (node:electron/js2c/asar_bundle:5:1812)
at Module._extensions..node (node:internal/modules/cjs/loader:1203:18)
at Object.func [as .node] (node:electron/js2c/asar_bundle:5:2039)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at c._load (node:electron/js2c/asar_bundle:5:13343)
at Module.require (node:internal/modules/cjs/loader:1012:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (C:\Program Files (x86)\dev-sidecar\resources\app.asar\node_modules\@natmri\platform-napi\index.js:94:29)
at Module._compile (node:internal/modules/cjs/loader:1118:14) {
code: 'ERR_DLOPEN_FAILED'
}
估计是操作系统缺少DLL库导致,尝试通过调整依赖 @natmri/platform-napi 的源码来解决掉这个问题,但还是无法得到解决。
目前暂时捕获了以上异常,让DS能够正常启动并使用,但 windows系统下重启后因系统代理未关闭导致网络不可用 的问题又会出现。
Ⅲ. 期望的结果:
- 捕获异常的代码去掉
- 不使用DLL修复工具修复DLL
- 能正常运行DS:代理服务、系统代理都能正常启动
Metadata
Metadata
Assignees
Labels
BugSomething isn't workingSomething isn't workingHelp Wanted(请求大佬帮助)Extra attention is neededExtra attention is neededOS: WindowsWindows操作系统Windows操作系统v2.0.02.0.0版本2.0.0版本