npm代理仓库配置
#sed -i "s#registry.npm.taobao.org#registry.npmmirror.com#g" yarn.lock
yarn config set registry https://registry.npmmirror.com
yarn config set sass_binary_site "https://registry.npmmirror.com/mirrors/node-sass/"
yarn config set phantomjs_cdnurl "http://cnpmjs.org/downloads"
yarn config set electron_mirror "https://npmmirror.com/mirrors/electron/"
yarn config set sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
yarn config set profiler_binary_host_mirror "https://registry.npmmirror.com/mirrors/node-inspector/"
yarn config set chromedriver_cdnurl "https://npmmirror.com/mirrors/chromedriver/"
评论区