关于前端:yarn-error-certificate-has-expired淘宝镜像证书过期

59次阅读

共计 237 个字符,预计需要花费 1 分钟才能阅读完成。

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"

正文完
 0