npm config set registry https://registry.npm.taobao.org
这样配置以后都是用淘宝的镜像下载资源 国内的访问速度会比较快
npm install -g cnpm --registry=https://registry.npm.taobao.org
以后使用cnpm 代替npm