在 Mac Os 中执行 Yarn Install 时出现 errno ENOTFOUND

问题描述

h6d2j12:~ dcx$ npm install --global yarn

npm ERR! code ENOTFOUND

npm ERR! errno ENOTFOUND

npm ERR! network request to https://registry.npmjs.org/yarn Failed,reason: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443

npm ERR! network This is a problem related to network connectivity.

npm ERR! network In most cases you are behind a proxy or have bad network settings.

npm ERR! network

npm ERR! network If you are behind a proxy,please make sure that the

npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

h6d2j12:~ dcx$ node

> -v

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)