yarn error: certificate has expired淘宝镜像证书过期
文章目录
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"Npm同理。
安装cnpm并修改镜像地址
npm install -g cnpm --registry=https://registry.npmmirror.com
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论