![](https://img-blog.csdnimg.cn/img_convert/30983bcf91d9d0b22e4a3080fcb5f388.png)
首先删除yarn.lock文件;
在命令行进行如下操作:
git config --global --unset http.proxy
git config --global --unset https.proxy
如果上述命令执行之后,依然install失败,那么就需要在cmd下命令执行 ipconfig/flushdns(清理dns缓存)
yarn install,success!!!
![](https://img-blog.csdnimg.cn/img_convert/ed92445b6ae541bee08399822b441a8b.png)
首先删除yarn.lock文件;
在命令行进行如下操作:
git config --global --unset http.proxy
git config --global --unset https.proxy
如果上述命令执行之后,依然install失败,那么就需要在cmd下命令执行 ipconfig/flushdns(清理dns缓存)
yarn install,success!!!