-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Issues with running npx create-react-app on node 15.2.1 #10127
Comments
facing the same issue |
okay wait got it fixed after removing it from with |
Same issue. I already run
On MacOs Big Sur. EDIT: |
I reverted to the latest stable version of npm (from 7.0.10 to 6.14.9) and that resolved the issue for me. I'm on MacOs Catalina (10.15.7) with node version 15.2.1 installed. |
@NinaKWelch how did you revert to the latest version of npm? I am facing the same issue |
I ran |
Thanks! |
It helps, thanks! |
THANK YOU! |
I had to install the LTS version of node (v14.15.1) to fix the problem. I was using the latest one (v15.2.1). These are now the versions installed in my Linux Ubuntu 20.04.01 system: Obs: I'm using NVM (Node Version Manager) |
It helps. For downgrade npm used this command
|
thanks, this worked! |
Thanks, man!! This solved my Issue |
out of all 1 million articles i have read your comment was my dream come true lol !! THANK YOU 🙏 ! |
yeh that works for me thanks |
NPM 7 had some changes with peer dependencies, which might be some of the problem here. It's safest to use node 14 and NPM 6 until the newest versions get tested more. |
thanks |
As @GautierT said, running |
Had a similar issue with CRA. Node version: 13.11.0 I downgraded to NPM 6.14.11 and i was able to create fine. |
npm install -g npm@latest it's really helpful, thanks! |
I solved this using the following command.
then
Thanks for this! Worked for me too. |
it worked , thanks a lot |
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. |
This is still an issue with:
and |
When I run
npx create-react-app appname
I get the following error message:I then ran
npm uninstall -g create-react-app
and got the following output:After running
npm uninstall -g create-react-app
command I rannpx create-react-app appname
and I got the same error message as above.This is what the error log located in
/Users/hat/.npm/_logs/2020-11-23T06_53_20_858Z-debug.log
looks like:I ran
npm cache clean --force
to clear the cache. The output after running this command wasnpm WARN using --force Recommended protections disabled.
I'm running
I also noticed that when I downgraded my node version to
v14.1.0
,npm
andnpx
was automatically downgraded to 6.14.6. I then rannpx create-react-app appname
and the command worked. I was able to create react app.The text was updated successfully, but these errors were encountered: