跳至主要內容

yarn/npm 设置淘宝源

安格前端nodeyarn小于 1 分钟...

📢📢 「重要通知」原淘宝 npm 域名即将停止解析 📢📢open in new window

常用

yarn config set registry https://registry.npmmirror.com -g
npm config set registry https://registry.npmmirror.com

yarn
yarn config set registry https://registry.npmmirror.com -g
yarn config set disturl https://npmmirror.com/binaries -g
yarn config set electron_mirror https://npmmirror.com/mirrors/electron/ -g
yarn config set sass_binary_site https://npmmirror.com/mirrors/node-sass/ -g
yarn config set phantomjs_cdnurl https://npmmirror.com/mirrors/phantomjs/ -g
上次编辑于:
你认为这篇文章怎么样?
  • 0
  • 0
  • 0
  • 0
  • 0
  • 0
评论
  • 按正序
  • 按倒序
  • 按热度
Powered by Waline v3.1.3