有什么帮助吗。我不知道我做了什么,但我不能使用asdf安装或运行nodejs。
$ asdf install nodejs 6.12.3
nodejs 6.12.3 is already installed
$ node
nodejs 6.9.4 not installed
$ which node
/home/sam/.asdf/shims/node毫无线索。它说这是安装,但它不运行。欢迎光临。
发布于 2018-01-30 16:15:06
您需要将默认节点版本从6.9.4 (未按照错误消息安装)更新到已安装的6.12.3.版本,您可以使用nvm alias命令进行此操作。如果没有安装nvm,则可以启动这里。
> nvm alias default 6.12.3
> node -v
6.12.3发布于 2018-01-30 16:14:11
没有看到节点版本,对不起
$asdf local nodejs 6.12.3欢迎光临!
https://stackoverflow.com/questions/48525866
复制相似问题