Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-react-app #12334

Open
monster5230 opened this issue Apr 27, 2022 · 1 comment
Open

create-react-app #12334

monster5230 opened this issue Apr 27, 2022 · 1 comment

Comments

@monster5230
Copy link

monster5230 commented Apr 27, 2022

The constant changes are getting annoying. npx create-react-app no longer works. It give instructions that it is no longer supported. It wants you to uninstall a global thing. You uninstall the global thing. It doesn't work because it asks you to reinstall the global thing. Then it leads you to a link that says you have to uninstall the global thing. Angular is looking really good right now.

PS C:\Users\User\Code\mysite\frontend> npx create-react-app .
Need to install the following packages:
create-react-app
Ok to proceed? (y) y

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

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

The latest instructions for creating a new app can be found here:
https://create-react-app.dev/docs/getting-started/

If you run - npm uninstall -g create-react-app, you get this:

up to date, audited 1 package in 300ms

found 0 vulnerabilities

then: if you run npx create-react-app ., you get this:

Need to install the following packages:
create-react-app
Ok to proceed? (y)

You click yes and rinse and repeat and repeat and repeat and repeat.............

@ytkg
Copy link

ytkg commented May 5, 2022

Try this.

$ npx clear-npx-cache
Need to install the following packages:
  clear-npx-cache
Ok to proceed? (y) y

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants