【问题标题】:Create React App not working : error @typescript-eslint/eslint-plugin@2.10.0: The engine "node" is incompatible with this module?创建 React 应用程序不起作用:错误 @typescript-eslint/eslint-plugin@2.10.0:引擎“节点”与此模块不兼容?
【发布时间】:2019-12-21 12:34:57
【问题描述】:

我不确定为什么 yarn create react app 会失败。错误信息提示@typescript-eslint/esling-plugin versionnode engine 不兼容。我也尝试过纱线cache clean --force,但没有用。我没有 package.json 来更改节点引擎,正如您在终端上看到的那样,它被删除了。谢谢

yarn v : 1.21.1
node v : 11.2.0

【问题讨论】:

    标签: create-react-app yarnpkg


    【解决方案1】:

    你有节点版本:

    节点 v:11.2.0

    错误信息:

    预期版本“^8.10.0 || ^10.13.0 || >=11.10.1”

    版本 >=11.10.1 表示 11.10.1、11.10.2、...、11.11.* ... 你有 10.2 小于 11.10

    升级 node,或搜索与您的 node 版本兼容的其他库版本(如果有)

    【讨论】:

      猜你喜欢
      • 2020-02-02
      • 2019-04-01
      • 2019-10-30
      • 2020-06-29
      • 2021-03-22
      • 2019-06-28
      • 2018-05-26
      • 2018-04-10
      相关资源
      最近更新 更多