方法一:
安装 cnpm ===> npm install -g cnpm --registry=https://registry.npm.taobao.org
检测方法:
cnpm -v
方法二:
安装 npm ===> npm config set registry https://registry.npm.taobao.org
npm config get registry