DEV Community

Cover image for Create React App error
Kunal Agrawal
Kunal Agrawal

Posted on • Edited on

Create React App error

npx create-react-app myapp
Enter fullscreen mode Exit fullscreen mode

Uff! this error.

You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0).

We no longer support global installation of Create React App.
Enter fullscreen mode Exit fullscreen mode

instead of typing create-react-app you can type create-react-app@5.0

npx create-react-app@5.0 .
Enter fullscreen mode Exit fullscreen mode

or you can uninstall global create-react-app package by

npm rm -g create-react-app
Enter fullscreen mode Exit fullscreen mode

then install new version of create-react-app globally by

npm i -g create-react-app
Enter fullscreen mode Exit fullscreen mode

Now you can easily create new react project.

Top comments (0)