1. 删除用户C:\Users\{账户}\下的.npmrc文件
2. npm cache verify
3. npm config set registry https://registry.npmmirror.com
//任选其一
npm config set registry https://registry.npmmirror.com
npm config set registry https://registry.npm.taobao.org
npm install -g cnpm --registry=https://registry.npmmirror.com