报错信息:
npm ERR! code CERT_HAS_EXPIRED
npm ERR! errno CERT_HAS_EXPIRED
npm ERR! request to https://registry.npm.taobao.org/yorkie/download/yorkie-2.0.0.tgz failed, reason: certificate has expired
npm ERR! A complete log of this run can be found in:
解决办法:
#清除npm缓存
npm cache clean --force
#取消ssl验证:
npm config set strict-ssl false
#再次执行install
npm install