首页 > 解决方案 > @typescript-eslint/eslint-plugin@2.3.2:引擎“节点”与此模块不兼容

问题描述

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

@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"

怎么修?

标签: node.jsreactjscreate-react-app

解决方案


预期版本“^8.10.0 || ^10.13.0 || >=11.10.1”。得到“10.2.1”

您的 nodejs 版本非常旧,并且存在已知的安全错误。更新到受支持版本的最新版本。


推荐阅读