Reputation: 11
(I am using ubuntu.)
the message i am getting:
You are running create-react-app
5.0.0, which is behind the latest release (5.0.1).
We no longer support global installation of Create React App.
Please remove any global installs with one of the following commands:
The latest instructions for creating a new app can be found here: https://create-react-app.dev/docs/getting-started/
I have already tried: npm uninstall -g create-react-app npx clean-npx-cache npx create-react-app@latest project-name
Nothing works
what should i do now?
Upvotes: 0
Views: 118
Reputation: 33
I know it is late but...
I also had the same problem and every solution I found didn't seem to work. In the end I found it out.
I have both yarn and npm installed create-react-app was installed in both and they were referencing each other
You need to perform both if you have both yarn and npm
Then clear cache using one (or both)
Then run to install and create the app
Hope it helps someone :)
Upvotes: 0