Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #11754
Closed
Open
Issue created Dec 14, 2021 by Administrator@rootContributor

Create-react-app stuck on v4.0.3, cannot create a new app

Created by: rydwhelchel

Describe the bug

When attempting to use npx create-react-app <app-name>, I get the following 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.

Please remove any global installs with one of the following commands:
- npm uninstall -g create-react-app
- yarn global remove create-react-app

What I have tried to fix it:

  1. Run npm uninstall -g create-react-app to uninstall any global versions of create-react-app
  2. Run npm i -g npm@latest to update npm
  3. Run npm uninstall -g create-react-app && sudo npm cache clean -f to try and clean any cached information regarding create-react-app.

Below is a gif showing the issue in real time.

Which terms did you search for in User Guide?

Latest release

Environment

Unfortunately, the npx create-react-app info command ends up with the same error.

I am currently on Mac v12.0.1. Please request more info if needed.

Steps to reproduce

  1. Attempt to run npx create-react-app <app-name-here>

Expected behavior

A React app is created.

Actual behavior

create-react-app errors due to incorrect version.

image
Assignee
Assign to
Time tracking