Skip to content

Instantly share code, notes, and snippets.

@ifyour
Last active December 25, 2019 15:00
Show Gist options
  • Save ifyour/75ac96fcafb79726e6b9670f510fdb46 to your computer and use it in GitHub Desktop.
Save ifyour/75ac96fcafb79726e6b9670f510fdb46 to your computer and use it in GitHub Desktop.
解决依赖下载慢都问题,临时在项目根目录新建以下文件,分别适用于 Yarn/Npm
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
phantomjs_cdnurl=https://npm.taobao.org/mirrors/phantomjs/
electron_mirror=https://npm.taobao.org/mirrors/electron/
registry=https://registry.npm.taobao.org
sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
phantomjs_cdnurl "https://npm.taobao.org/mirrors/phantomjs/"
electron_mirror "https://npm.taobao.org/mirrors/electron/"
registry "https://registry.npm.taobao.org"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment