Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrm ls 输出taobao undefined #167

Open
zhengxinyuzxy opened this issue Jul 23, 2023 · 5 comments
Open

nrm ls 输出taobao undefined #167

zhengxinyuzxy opened this issue Jul 23, 2023 · 5 comments

Comments

@zhengxinyuzxy
Copy link

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
Copy link

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

@CaptainOfPhB
Copy link
Contributor

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

@xmasuhai
Copy link

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
Copy link

新版taobao是undefined

@peak1216
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants