yarn 在安装包的时候,不停显示:
info There appears to be trouble with your network connection. Retrying...
关上 yarn-error.log 排查
Trace:
Error: certificate has expired
at .......
at .......
at .......
at .......
论断:
淘宝镜像证书过期
解决方案:
yarn config set registry "https://registry.npmmirror.com"