yarn install卡在Building fresh packages

    技术2022-07-13  73

    可在项目根目录下新建.yarnrc文件,然后重新执行构建命令,.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"

     

    Processed: 0.016, SQL: 9