npx is failing to install react app | suggestions any?!

 Here's what errors I'm getting while installing react app

version I'm currently running in my PC, also latest Windows update.

node -v              v16.13.1

npm -v               8.1.2

npx -v                8.1.2



PS C:\Users\repo\reactaiop> npx  create-react-app my-app

even npm and yarn not working 

Need to install the following packages:

  create-react-app

Ok to proceed? (y) y


You are running `create-react-app` 4.0.3, which is behind the latest release (5.0.0).


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/  

Comments

Popular Posts