Pana / nrm

NPM registry manager, fast switch between different registries: npm, cnpm, nj, taobao
MIT License
2.77k stars 242 forks source link

nrm ls 输出taobao undefined #167

Open zhengxinyuzxy opened 1 year ago

zhengxinyuzxy commented 1 year ago

PS D:\blog> nvm current v16.20.1 PS D:\blog> nrm -V 1.2.6 PS D:\blog> nrm ls npm ---------- https://registry.npmjs.org/ yarn --------- https://registry.yarnpkg.com/ tencent ------ https://mirrors.cloud.tencent.com/npm/ cnpm --------- https://r.cnpmjs.org/ taobao ------- undefined npmMirror ---- https://skimdb.npmjs.com/registry/ PS D:\blog> nrm current Your current registry(https://registry.npmmirror.com/) is not included in the nrm registries.
Use the nrm add [home] command to add your registry. PS D:\blog> nrm ls

loseyouselfbest commented 11 months ago

我和你一样,还有那个*号的问题,最新版的cli.js文件好像直接大变,真的难受

CaptainOfPhB commented 11 months ago

试下我写的 nrm-ng,应该比 nrm 好用些 😝。

xmasuhai commented 8 months ago

PS D:\blog> nvm current v16.20.1 PS D:\blog> nrm -V 1.2.6 PS D:\blog> nrm ls npm ---------- https://registry.npmjs.org/ yarn --------- https://registry.yarnpkg.com/ tencent ------ https://mirrors.cloud.tencent.com/npm/ cnpm --------- https://r.cnpmjs.org/ taobao ------- undefined npmMirror ---- https://skimdb.npmjs.com/registry/ PS D:\blog> nrm current Your current registry(https://registry.npmmirror.com/) is not included in the nrm registries. Use the nrm add [home] command to add your registry. PS D:\blog> nrm ls

Add taobao mirror manually:

nrm add tb  https://registry.npmmirror.com/ https://npmmirror.com
nrm use tb
CYscared commented 6 months ago

新版taobao是undefined

peak1216 commented 1 month ago

编辑“C:\Users\用户名.nrmrc”文件,在[taobao]下增加“registry=https://registry.npmmirror.com/”保存后,重新运行nrm ls命令检查是否恢复