=_=
淘宝镜像:
npm install -g cnpm --registry=https://registry.npm.taobao.org
然后就可以使用cnpm代替npm
设置默认:
npm install -g cnpm --registry=https://registry.npm.taobao.org npm config set registry https://registry.npm.taobao.org
=_=
淘宝镜像:
npm install -g cnpm --registry=https://registry.npm.taobao.org
然后就可以使用cnpm代替npm
设置默认:
npm install -g cnpm --registry=https://registry.npm.taobao.org npm config set registry https://registry.npm.taobao.org
转载于:https://www.cnblogs.com/rlann/p/7126349.html