npx create-react-app my-app is isn't installing the packages and i try uninstalling npm using -g but still.
See original GitHub issuehere is the problem i get everytime i try to install the packages. Can you please help? i willl be glad…
C:\Users\AHMED\Desktop\robohash\trove-app>npx create-react-app trove
You are running create-react-app
4.0.0, which is behind the latest release (4.0.1).
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: https://create-react-app.dev/docs/getting-started/
npm ERR! code 1 npm ERR! path C:\Users\AHMED\Desktop\robohash\trove-app npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c ““create-react-app” “trove””
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\AHMED\AppData\Local\npm-cache_logs\2020-11-24T00_04_00_794Z-debug.log
C:\Users\AHMED\Desktop\robohash\trove-app>
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:6
Top GitHub Comments
Edit: Try @willwearing’s suggestion below instead:
npm install -g npm@latest
My original post: