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

error running npx create-react-app@next #9910

Open
fleischman718 opened this issue Oct 26, 2020 · 1 comment
Open

error running npx create-react-app@next #9910

fleischman718 opened this issue Oct 26, 2020 · 1 comment

Comments

@fleischman718
Copy link

Describe the bug

error running npx create-react-app@next
error message: You are running create-react-app 4.0.0-next.117+2b1161b3, which is behind the latest release (4.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

Did you try recovering your dependencies?

yes, but i can't because it will not bootstrap my project.

Which terms did you search for in User Guide?

i tried searching the error message.

(Write your answer here if relevant.)

Environment

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

Environment Info:

current version of create-react-app: 4.0.0
running from C:\Users\progr\AppData\Local\npm-cache_npx\c67e74de0542c87c\node_modules\create-react-app

System:
OS: Windows 10 10.0.19041
CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Binaries:
Node: 15.0.1 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 7.0.3 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 86.0.4240.111
Edge: Spartan (44.19041.423.0), Chromium (86.0.622.51), ChromiumDev (88.0.673.0)
Internet Explorer: 11.0.19041.1
npmPackages:
react: Not Found
react-dom: Not Found
react-scripts: Not Found
npmGlobalPackages:
create-react-app: Not Found

Steps to reproduce

im trying to run npx create-react-app@next --scripts-version=@next --template=cra-template@next myapp but i'm getting this wired error message.

Expected behavior

The project should get created.

Actual behavior

getting an error

Reproducible demo

i'm not sure how to reproduce, on my laptop i always get this error, i already tried uninstalling node, but it did not help

@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

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

No branches or pull requests

1 participant