I am facing error while installing React on my computer.
Error Message
creating a new React app in C:\Users\ayuba\first-app.
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts…
npm WARN config global --global
, --local
are deprecated. Use --location=global
instead.
added 1391 packages, and audited 1392 packages in 2m
203 packages are looking for funding
run npm fund
for details
6 high severity vulnerabilities
To address all issues, run:
npm audit fix
Run npm audit
for details.
A template was not provided. This is likely because you’re using an outdated version of create-react-app.
Please note that global installs of create-react-app are no longer supported.
You can fix this by running npm uninstall -g create-react-app or yarn global remove create-react-app before using create-react-app again.