【发布时间】:2022-10-04 16:48:07
【问题描述】:
您好,我的终端出现了一些错误,它说我需要使用 4.4.0 版本,而我当前的版本是...
在我的项目中,我当前的打字稿版本如下,
"typescript": "^4.4.2",
"typedoc": "^0.21.8",
"react-scripts": "^3.4.4",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
此外,当我试图跑步时npm 运行开发命令或npx eslint 。是错误显示给我,如下所示,
=============
WARNING: You are currently running a version of TypeScript which is not
officially supported by @typescript-eslint/typescript-estree.
You may find that it works just fine, or you may not.
SUPPORTED TYPESCRIPT VERSIONS: >=3.3.1 <4.4.0
YOUR TYPESCRIPT VERSION: 4.4.2
Please only submit bug reports when using the officially supported
version.
=============
我该如何解决这个问题,我在谷歌做了很多研究,但没有任何效果。这对我会有很大的帮助。
【问题讨论】:
标签: reactjs typescript ubuntu warnings react-scripts