yarn 安装包时出现错误
文章目录
error An unexpected error occurred: "https://registry.npm.taobao.org/egg: tunnel ing socket could not be established, cause=getaddrinfo ENOTFOUND 9999猜测原因: 本机有proxy工具
解决方法:
yarn config set proxy http://localhost:port
yarn config set https-proxy http://localhost:port加速方法:
yarn config set registry https://registry.npm.taobao.org --global
// 查看配置
yarn config list
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论