首页 > 解决方案 > errno ENOTFOUND 在 Mac Os 中进行 Yarn 安装时

问题描述

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

标签: macosyarnpkg

解决方案


推荐阅读