1

I've tried to create a new React App with every command from the official documentation

  1. npx create-react-app my-app
  2. npm init react-app my-app
  3. yarn create react-app my-app

But I got every time the same result as shown here:

image of the problem

I tried to fully uninstall and reinstall Node.js; lower versions; I passed from 64bit to 32bit; tried to see if there was some conflicts but still nothing. Every suggestion will be loved

JIST
  • 1,139
  • 2
  • 8
  • 30
R1ky68
  • 40
  • 1
  • 8

2 Answers2

1

I had the same issue when I tried to run it with node v18... The only thing that worked was to use some previous version. If you're trying with v18, try to downgrade and see if it would work.

1

I fixed it by running this command:

npm audit fix --force
Chiara Ani
  • 918
  • 7
  • 25