error An unexpected error occurred: “https://registry.npmjs.org/ant-design-vue: tunneling socket cou

在用 yarn install 安装依赖时遇到了下面这个问题,好一顿折磨,还是没能找到解决方法,有谁遇到过吗?

info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://registry.npmjs.org/ant-design-vue: tunneling socket could not be established, cause=connect ETIMEDOUT 1.2.1.251:80".
info If you think this is a bug, please open a bug report with the information provided in "D:\\frontEnd\\供销链管理系统\\psi\\ant-design-vue-jeecg\\yarn-error.log". 
上一篇:npm发包流程


下一篇:使用async-utility 转换异步请求为同步