[英]NVM doesn't switch the expected Node.js version
我想在我的应用程序中使用旧版本的Node.js ,为此我尝试使用nvm以便我可以相应地更改版本。
Node.js
nvm
现在我有三个版本的Node.js并且想打开特定版本
nvm 使用 [选定版本]
执行成功但是没有更新版本
使用示例:
例如,如果您的 nvm 命令未在 Windows 中更新您的节点版本
您当前的版本是6.11.2并且您想在 Windows 操作系统中使用nvm use 8.11.3更新到8.11.3然后下面的 hack 将完成这项工作。
6.11.2
nvm use 8.11.3
8.11.3
将C:\\Program Files\\nodejs重命名为C:\\Program Files\\nodejsx它对我C:\\Program Files\\nodejsx 。
C:\\Program Files\\nodejs
C:\\Program Files\\nodejsx
归功于用户ituasdu
来自 NVM 的自述文件,在重要说明下:
注意:nvm 不支持 Windows(参见#284 )。 存在两种替代方案,我们既不支持也不开发它们: nvm-windows 结点者
注意:nvm 不支持 Windows(参见#284 )。 存在两种替代方案,我们既不支持也不开发它们:
[英]nvm node.js use version not working
[英]How to change Node.js version with nvm
[英]NVM doesn't update Node to the newest version
[英]Unable to switch node version with NVM
[英]Uninstalling the currently active version of node.js with nvm
[英]NVM fails to install any version of Node.js in Cygwin
[英]Install multiple version of node.js using NVM (Ubuntu)
[英]nvm uninstall doesn't actually uninstall the node version
[英]Switch version of Node.js to 6.11.5 on Windows
[英]n doesn't change node.js version
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.