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

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