nmp set up Taobao mirror

nmp set up Taobao mirror

2019/8/17 9:18:21

First, from the command line

1. Command

npm config set registry https://registry.npm.taobao.org

2. Verify command

npm config get registry

If the return below, then success!

https://registry.npm.taobao.org

Second, by using a mounting cnpm

command

npm install -g cnpm --registry=https://registry.npm.taobao.org 

ISSUES

Guess you like

Origin www.cnblogs.com/damahuhu/p/11696353.html