无法使用create-react-app创建应用 [英] Can not create app using create-react-app

查看:183
本文介绍了无法使用create-react-app创建应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试使用提供错误的 create-react-app 创建应用

When I try to create an app using create-react-app that give an error


error eslint@5.6.0:引擎节点与此
模块不兼容。预期版本为 ^ 6.14.0 || ^ 8.10.0 ||> = 9.10.0。

error eslint@5.6.0: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0".

错误发现不兼容的模块信息,请访问
https://yarnpkg.com/en/docs/cli/add 有关此$ b的文档$ b命令。

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

我的节点版本是 8.9.3

我的 NPM 版本是 6.4.1

我的 create-react-app 版本为 1.5.2

显示无法创建给定错误的项目。

The project cannot create given error are display.

推荐答案

更新 https://nodejs.org/en/

这篇关于无法使用create-react-app创建应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆