侧边栏壁纸
博主头像
运维日记-记录IT运维经验博主等级

行动起来,活在当下

  • 累计撰写 66 篇文章
  • 累计创建 7 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

npm代理仓库配置

xlong
2024-03-29 / 0 评论 / 0 点赞 / 6 阅读 / 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

评论区