首页 > 其他分享 >解决Building fresh packages...

解决Building fresh packages...

时间:2022-10-23 23:55:05浏览次数:60  
标签:Building ... taobao npm https mirror org packages

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

相关文章