yarn install 报错 connect ETIMEDOUT 104.16.22.35:443".
报错信息:An unexpected error occurred: "https://registry.yarnpkg.com/dcmjs/-/dcmjs-0.29.3.tgz: connect ETIMEDOUT 104.16.25.35:443".
解决方法:更换镜像源
先把node-sass镜像源进行设置成国内的
yarn config set sass-binary-site http://npm.taobao.org/mirrors/node-sass
然后将资源地址设置为淘宝镜像
yarn config set registry https://registry.npm.taobao.org/
记得查看一下自己是否更改成功
yarn config get registry
也可以试试这两个命令
更改完成后继续 yarn install 即可