【问题标题】:Error when run substrate-front-end-template$ yarn install运行 substrate-front-end-template$ yarn install 时出错
【发布时间】:2021-11-21 10:43:58
【问题描述】:

我一直按照安装前端模板的说明,运行substrate-front-end-template$ yarn install时出错。错误如下:

错误:找不到模块“worker_threads” ## 标题 ##at Function.Module._resolveFilename (internal/modules cjs/loader.js:636:15) 在 Function.Module._load (internal/modules/cjs/loader.js:562:25) 在 Module.require (internal/modules/cjs/loader.js:692:17) 在需要(内部/模块/cjs/helpers.js:25:18) 在/home/erichuang2005/substrate-node-template/substrate-front-end-template/.yarn/releases/yarn-berry.cjs:289:2658

【问题讨论】:

    标签: substrate


    【解决方案1】:

    我不确定您的确切错误消息,但我也遇到了yarn install 的问题,该问题已通过使用不同版本的节点解决。我的版本 17 有问题。版本 16 对我有用。

    【讨论】:

      猜你喜欢
      • 2021-10-29
      • 1970-01-01
      • 2021-11-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-11-22
      • 2015-03-06
      • 2017-03-26
      相关资源
      最近更新 更多