清理缓存,再重新isntall
npm cache clean --force
设置淘宝镜像源
npm config set registry https://registry.npm.taobao.org/
使用cnpm
npm install -g cnpm --registry=http://registry.npm.taobao.org cnpm install