create-react-app安装react项目,yurn一直报错 create-react-app安装react项目,yurn一直报错,错误如下图

一世执手 提交于 2020-01-23 18:44:16

create-react-app client --typescript

 

报错信息如下

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

error Found incompatible module.

info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

 

 

解决方法是:

设置yarn如下:

yarn config set ignore-engines true

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!