node.js - @typescript-eslint/eslint-plugin@2.3.2 : The engine "node" is incompatible with this module

标签 node.js reactjs create-react-app

我想使用命令 npx create-react-app ... 创建 React 应用程序,当我在终端中运行此命令时它显示此错误:

@typescript-eslint/eslint-plugin@2.3.2: The engine "node" is incompatible with this module. Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "10.2.1"

如何修复?

最佳答案

Expected version "^8.10.0 || ^10.13.0 || >=11.10.1". Got "10.2.1"

您的 nodejs 版本很旧并且存在已知的安全漏洞。更新到受支持版本的最新版本。

关于node.js - @typescript-eslint/eslint-plugin@2.3.2 : The engine "node" is incompatible with this module,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58232187/

相关文章:

javascript - If 语句在 React 组件中不起作用。

javascript - Firebase数据重复问题

node.js - 创建 React 应用程序入门 - "Cannot find module"

node.js - NodeJS 上的 KnockoutJs

node.js - [fields] 中 START_ARRAY 的键未知。在 Elasticsearch 中

javascript - redux saga 的简单磁带 js 测试因未定义而失败

typescript - 在 create-react-app 中添加自定义 react 脚本的标准方法

reactjs - 在 create-react-app 中调试 es6

windows - npm 安装 socket.io 失败

node.js - 端口转发不适用于 Nodejs 应用程序