我有nvm
个设置来使用~/.nvm/alias/default
中最新的长期支持版本,将其设置为lts/*
.
当我try 让我的shell初始化我的nvm版本(zsh)时,我得到以下错误:
N/A: version "N/A -> N/A" is not yet installed.
为什么会这样?
我有nvm
个设置来使用~/.nvm/alias/default
中最新的长期支持版本,将其设置为lts/*
.
当我try 让我的shell初始化我的nvm版本(zsh)时,我得到以下错误:
N/A: version "N/A -> N/A" is not yet installed.
为什么会这样?
错误:N/A: version "N/A -> N/A" is not yet installed
在执行nvm use
(切换到旧 node 版本8.11.1,如.nvmrc文件所示)、nvm uninstall
(新 node 版本9.0.0)和git push
之后,我出现了这个错误.
nvm ls
:my "default" Node version was pointing to the uninstalled one:default -> 9.0.0 (-> N/A)
.这导致了错误.
To fix: nvm alias default node
点"默认"到最新安装的 node 版本(8.11.1).
现在nvm ls
场表演default -> node (-> v8.11.1)
场.