Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]最新版本 win11 无法安装 node版本,点击安装软件闪退 #133

Open
zhuyuanmin opened this issue Oct 30, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@zhuyuanmin
Copy link

[BUG]最新版本 win11 无法安装 node版本,点击安装软件闪退

nvmd版本:4.0.2 (tauri)
os版本: win11

降级为 3.x (electron) 版本恢复正常

@zhuyuanmin zhuyuanmin added the bug Something isn't working label Oct 30, 2024
@1111mp
Copy link
Owner

1111mp commented Oct 30, 2024

可以提供一下日志吗 系统托盘菜单里有个打开日志文件目录的菜单

@zhaohuanlei
Copy link

我也是Windows11,也遇到了,日志如下:

[2025-01-25][16:28:52][ERROR][app] failed to read the file "C:\Users\Lei.nvmd\default"
[2025-01-25][16:28:52][ERROR][app] file not found "C:\Users\Lei.nvmd\versions.json"
[2025-01-25][16:28:52][ERROR][app] file not found "C:\Users\Lei.nvmd\groups.json"
[2025-01-25][16:28:52][ERROR][app] file not found "C:\Users\Lei.nvmd\projects.json"
[2025-01-25][16:30:04][ERROR][app] failed to read the file "C:\Users\Lei.nvmd\default"

@1111mp
Copy link
Owner

1111mp commented Jan 25, 2025

这几个错误日志不影响程序运行的,会给默认值。

没有更多日志了吗,安装node的报错信息有吗,还是直接就闪退了。试试以管理员权限运行呢。设置里面切换一下镜像地址。或者看看有什么杀毒软件会限制。

@zhaohuanlei
Copy link

具体操作流程:
1、安装完成后有错误提示弹窗,打开没有版本列表;
2、卸载;
3、第二次安装,结果和第一次一样;
4、彻底关闭软件,然后再打开,然后正常显示列表了;

@1111mp
Copy link
Owner

1111mp commented Jan 25, 2025

没有版本列表可能是网络问题造成请求失败,你可以在设置里面试试改一下镜像地址,或设置成清华大学的镜像源,设置完成之后点击 刷新数据 按钮重新获取一下数据。试试能不能解决呢。

@zhaohuanlei
Copy link

感谢!!我的问题已经解决,安装vc_redist.x86.exe后,重装nvmd可以正常使用;

@1111mp
Copy link
Owner

1111mp commented Jan 25, 2025

好的,64位系统安装x64的好一些
谢谢反馈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants