一现象

react native项目安装依赖时报错:

error @typescript-eslint/eslint-plugin@5.30.6: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.17.0 || >=16.0.0". Got "14.15.0"

二,解决

先运行

yarn config set ignore-engines true

然后再安装依赖,这个命令是让yarn忽略node的版本检查,或者另一个解决办法是安装合适版本的node

推荐文章

评论可见,请评论后查看内容,谢谢!!!
 您阅读本篇文章共花了: