首页 » 前端 » NodeJS » 正文

yarn 配置

发布者:站点默认
2020/08/27 浏览数(592) 分类:NodeJS yarn 配置已关闭评论
yarn config set -g registry https://registry.npm.taobao.org
yarn config set -g disturl https://npm.taobao.org/dist
yarn config set -g electron_mirror https://npm.taobao.org/mirrors/electron/
yarn config set -g sass_binary_site https://npm.taobao.org/mirrors/node-sass/
yarn config set -g phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs/
yarn config set -g chromedriver_cdnurl https://cdn.npm.taobao.org/dist/chromedriver
yarn config set -g operadriver_cdnurl https://cdn.npm.taobao.org/dist/operadriver
yarn config set -g fse_binary_host_mirror https://npm.taobao.org/mirrors/fsevents
npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist
npm config set electron_mirror https://npm.taobao.org/mirrors/electron/
npm config set sass_binary_site https://npm.taobao.org/mirrors/node-sass/
npm config set phantomjs_cdnurl https://npm.taobao.org/mirrors/phantomjs/
点击返回顶部
  1. 留言
  2. 联系方式