Building fresh packages...
[-/15] · waiting...
[-/6] · waiting...
[3-5] · electron
解决方法
在项目的根目录下新建 .yarnrc 文件,在文件中新增如下内容:
registry "https://registry.npm.taobao.org"
sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
phantomjs_cdnurl "http://cnpmjs.org/downloads"
electron_mirror "https://npm.taobao.org/mirrors/electron/"
sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"
标签:Building,...,taobao,npm,https,mirror,org,packages
From: https://www.cnblogs.com/july4/p/16820098.html