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

关于windows下载的问题 #80

Closed
typvip opened this issue Apr 23, 2024 · 6 comments
Closed

关于windows下载的问题 #80

typvip opened this issue Apr 23, 2024 · 6 comments

Comments

@typvip
Copy link

typvip commented Apr 23, 2024

image
首先这款软件太nice了,强烈推荐!!!

其次请教两个问题:

问题1:请问1和2有什么区别呢

问题2:我安装了2,然后本地使用命令没反应,检查了环境变量是没问题的,我是windows11专业版的系统

@1111mp
Copy link
Owner

1111mp commented Apr 23, 2024

问题1:请问1和2有什么区别呢

  "win": {
      "target": [
        {
          "target": "nsis",
          "arch": [
            "x64",
            "arm64"
          ]
        }
      ],
      "requestedExecutionLevel": "highestAvailable"
    },

我也不太确定 打包的配置中指定了对应的架构,所以会生成 2 中的带有 x64 的 .exe 文件,而 1 应该是 electron-builder 会默认根据当前系统信息打包出一份安装文件。至于安装文件体积差异的问题,这个还真没研究过,可能是因为这个默认的打包没有使用asar压缩吧....

直接根据自己系统的架构安装 2 就好

我安装了2,然后本地使用命令没反应,检查了环境变量是没问题的,我是windows11专业版的系统

客户端可以顺利启动吗 还是 nvmd -h 命令无效

如果客户端可以顺利启动 试试下载一下node版本 切换一下 终端查看 node --version 命令是否都工作正常

如果都工作的话 那么你可以:

  • 查看 %HOMEPATH%\.nvmd\bin\ 目录下是否存在 nvmd.exe 文件
  • 检查%HOMEPATH%\.nvmd\bin\是否在系统的环境变量里面

@typvip
Copy link
Author

typvip commented Apr 23, 2024

使用终端无反应,截图如下:

image

更换为cmd命令行之后,运行出现下面错误报警,猜测终端报警被拦截了:

image

下载了两个版本,一个是18.19.0,一个是15.14.0
具体版本截图如下,并应用了18.19.0版本:

image

@typvip
Copy link
Author

typvip commented Apr 23, 2024

  • 查看 %HOMEPATH%\.nvmd\bin\ 目录下是否存在 nvmd.exe 文件
    经检查,是存在应用程序的:
    image
  • 检查%HOMEPATH%\.nvmd\bin\是否在系统的环境变量里面
    经检查,是存在环境变量的:
    image

@1111mp
Copy link
Owner

1111mp commented Apr 23, 2024

这个应该是系统缺少 vcruntiome140.dll 文件造成的

Visual C++官方下载地址:https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads

image

下载完成之后点击安装即可(可能需要重启)

@typvip
Copy link
Author

typvip commented Apr 23, 2024

已解决,非常感谢,我就是从这个url下载的,安装之后立马可以使用了,就马不停蹄过来给你回复,发现你这边提供的就是这种方案,我要给其他人推荐你!!!

@1111mp
Copy link
Owner

1111mp commented Apr 23, 2024

客气了 能够帮助到你就行 非常感谢 🌹

那么我就先将此issue关闭了,当然后续如果有任何问题都可以随时重新打开的。谢谢。

@1111mp 1111mp closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants