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

现在支持下载指定位数的版本吗 #13

Closed
lanzlzz opened this issue Nov 16, 2023 · 7 comments
Closed

现在支持下载指定位数的版本吗 #13

lanzlzz opened this issue Nov 16, 2023 · 7 comments
Labels
enhancement New feature or request stale

Comments

@lanzlzz
Copy link

lanzlzz commented Nov 16, 2023

No description provided.

@lanzlzz
Copy link
Author

lanzlzz commented Nov 16, 2023

32位或64位

@1111mp
Copy link
Owner

1111mp commented Nov 16, 2023

目前默认是下载当前计算机系统的架构的版本,比如这里的代码:

你是需要下载的时候自己选择架构吗?

@lanzlzz
Copy link
Author

lanzlzz commented Nov 16, 2023

目前默认是下载当前计算机系统的架构的版本,比如这里的代码:

你是需要下载的时候自己选择架构吗?

当前是windows
是的 有时候需要使用32位的架构

@1111mp
Copy link
Owner

1111mp commented Nov 16, 2023

这个需求可能不太适合做成一个通用的功能,主要是因为架构之间的兼容性问题(这种需求应该只会发生在x64的设备上,可以安装x32的软件,虽然理论上是可以运行,但是实际也可能会出现兼容性的问题),所以这个先保留吧,如果后面提这个问题多了的话我会实现这个功能的

如果这个对你来说是不可或缺的话,可以提供一个临时的解决方案:打开 (https://nodejs.org/dis)[https://nodejs.org/dis] 网站,然后点击对应的版本进去下载 x32 的压缩文件,解压到目录 %HOMEPATH%\.nvmd\versions\{version}(比如:%HOMEPATH%\.nvmd\versions\20.2.0)
Screenshot 2023-11-16 at 12 55 52

然后刷新nvm-desktop客户端,会显示该版本已安装,可以正常切换版本这些都不会影响,只不过node.exex32位的了。

@1111mp 1111mp added the enhancement New feature or request label Nov 16, 2023
@lanzlzz
Copy link
Author

lanzlzz commented Nov 16, 2023

这个需求可能不太适合做成一个通用的功能,主要是因为架构之间的兼容性问题(这种需求应该只会发生在x64的设备上,可以安装x32的软件,虽然理论上是可以运行,但是实际也可能会出现兼容性的问题),所以这个先保留吧,如果后面提这个问题多了的话我会实现这个功能的

如果这个对你来说是不可或缺的话,可以提供一个临时的解决方案:打开 (https://nodejs.org/dis[)[https://nodejs.org/dis]](https://nodejs.org/dis)%5Bhttps://nodejs.org/dis%5D) 网站,然后点击对应的版本进去下载 的压缩文件,解压到目录 (比如:x32``%HOMEPATH%\.nvmd\versions\{version}``%HOMEPATH%\.nvmd\versions\20.2.0) 屏幕截图 2023-11-16 在 12:55:52

然后刷新客户端,会显示该版本已安装,可以正常切换版本这些都不会影响,只不过是位的了。nvm-desktop``node.exe``x32

明白了 多谢

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Dec 17, 2023
Copy link

github-actions bot commented Jan 1, 2024

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

2 participants