I´m new to react, but I already created some apps, but today when I tried to create a new one, it just doesn´t work. I´m using Node version v15.6.0 and npm 7.4.0. My operating system is Windows 10.
My file tree I'm working on: C: Users\kryst\Documents\test-app\app\package.JSON
But when I run npx create-react-app app in C: Users\kryst\Documents\test-app directory, it throws these messages.
PS C:\Users\kryst\Documents\test-app> npx create-react-app app
You are running `create-react-app` 4.0.1, which is behind the latest release (4.0.2).
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:
npm ERR! code 1
npm ERR! path C:\Users\kryst\Documents\test-app
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c create-react-app app
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\kryst\AppData\Local\npm-cache\_logs\2021-02-07T09_22_38_962Z-debug.log
I´ve already tried npm cache clean --force , reinstalling the whole application and restarting the computer.
Do you have any idea how to fix this? I´d be grateful for anythig.