目 录CONTENT

文章目录

npm代理仓库配置

xlong
2024-03-29 / 0 评论 / 0 点赞 / 41 阅读 / 754 字 / 正在检测是否收录...

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/"

0

评论区