使用npm install 安装包时报错:npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/vue-loader failed, reason: certificate has expired
解决:
更改npm仓库
npm config set registry http://registry.npmmirror.com
切换为默认的镜像库http协议开头