问题:

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缓存
npm cache clean --force
取消ssl验证:
npm config set strict-ssl false
之后再npm install 

Logo

一站式 AI 云服务平台

更多推荐