【问题标题】:eslint@6.8.0: The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "11.6.0"eslint@6.8.0:引擎“节点”与此模块不兼容。预期版本“^8.10.0 || ^10.13.0 || >=11.10.1”。得到“11.6.0”
【发布时间】:2020-06-29 06:02:47
【问题描述】:

我尝试运行nix react-native init Hello 并得到以下错误:

error eslint@6.8.0: The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "11.6.0"

error Found incompatible module.

我检查了我的节点版本是 v13.11.0,但它说 Got 11.6.0。不知道那个版本来自哪里

【问题讨论】:

    标签: react-native eslint react-native-cli


    【解决方案1】:

    好吧,您收到该错误是因为您的 nodejs 版本不兼容。只需继续访问 nodejs.org 并下载最新版本并安装。那应该为您带来魔力!!!

    【讨论】:

      猜你喜欢
      • 2021-11-26
      • 1970-01-01
      • 2021-05-31
      • 2018-04-10
      • 2022-10-07
      • 2020-02-02
      • 2021-10-28
      • 2020-03-06
      • 1970-01-01
      相关资源
      最近更新 更多