新增cnpm的淘宝源
npm install -g cnpm --registry=https://registry.npm.taobao.org
替换npm的源,npm config set registry https://registry.npm.taobao.org
新增cnpm的淘宝源
npm install -g cnpm --registry=https://registry.npm.taobao.org
替换npm的源,npm config set registry https://registry.npm.taobao.org
转载于:https://www.cnblogs.com/lyraLee/p/10195895.html