Home > Mobile >  I can't create a react app and I keep getting the same errors
I can't create a react app and I keep getting the same errors

Time:03-15

I run the command, but I get the errors with stuff I don't understand. enter image description here

CodePudding user response:

try to run the command from the project directory

CodePudding user response:

It's problem in, you're npm version consider using a stable version of npm npm version

run this command npm install -g npm@latest it will install the new version of npm if it's still not working use flag while creating react app npx create-react-app newapp -force

In case it still not working delete package-lock.json from you're project and run npm install again

  • Related