This article is a mirror article of machine translation, please click here to jump to the original article.

View: 6796|Reply: 4

Change the npm image address to Taobao image

[Copy link]
Posted on 7/18/2019 11:01:12 AM | | | |
1: Check the download address of your current computer



2: Permanently change the image address to Taobao npm image



3: Temporarily use Taobao npm address



4: Modify to cnpmjs image



5: Modify to the original address



6: Force clean npm's cache









Previous:UltraISO v9.7.1.3519 is registered for the nude version
Next:How to convert the kind of logged-in page with pdfkit in python?
Posted on 7/20/2019 6:15:21 PM |
Isn't it convenient to use NRM?
 Landlord| Posted on 11/26/2021 4:26:37 PM |
 Landlord| Posted on 11/26/2021 4:45:26 PM |
Linn posted on 2019-7-20 18:15
Isn't it convenient to use NRM?

Yes, the source switching widget

1.nrm

nrm (npm registry manager) is npm's image source management tool, sometimes foreign resources are too slow, use this to quickly switch between npm sources

2. Install NRM

Run the command on the command line, npm install -g nrm, install nrm globally.

3. Use

Run the command nrm ls to see the optional source.
 Landlord| Posted on 7/22/2024 9:14:20 AM |
Xiao Zhaozha Posted on 2021-11-26 16:45
Yes, the source switching widget

1.nrm

D:\Project\itsvse>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 -------https://registry.npmmirror.com/
  npmMirror ----https://skimdb.npmjs.com/registry/

D:\Project\itsvse>nrm use taobao
SUCCESS  The registry has been changed to 'taobao'.

D:\Project\itsvse>nrm current
You are using taobao registry.

D:\Project\itsvse>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 -------https://registry.npmmirror.com/
  npmMirror ----https://skimdb.npmjs.com/registry/
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com