发现问题
执行以下命令,安装最新版 nrm
npm i -g nrm
执行以下命令,没有看到星(*)标注当前的 registry
nrm ls
执行以下命令,没有任何输出
nrm current
解决方法
执行以下命令,通过源码安装 nrm 即可解决(亲测有效)
npm install Pana/nrm -g
安装完成之后…
github 的 issues 上的解决办法: https://github.com/Pana/nrm/issues/145
执行以下命令,安装最新版 nrm
npm i -g nrm
执行以下命令,没有看到星(*)标注当前的 registry
nrm ls
执行以下命令,没有任何输出
nrm current
执行以下命令,通过源码安装 nrm 即可解决(亲测有效)
npm install Pana/nrm -g
安装完成之后…
github 的 issues 上的解决办法: https://github.com/Pana/nrm/issues/145