# Unable to run old version of react

**URL:** <https://forum.codewithmosh.com/t/unable-to-run-old-version-of-react/13823>\
**Category:** React\
**Created:** [July 20, 2022, 8:25am UTC](https://forum.codewithmosh.com/t/unable-to-run-old-version-of-react/13823 "2022-07-20T08:25:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayub](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@ayub](https://forum.codewithmosh.com/u/ayub)\
**Post date:** [July 20, 2022, 8:25am UTC](https://forum.codewithmosh.com/t/unable-to-run-old-version-of-react/13823/1 "2022-07-20T08:25:42Z")

</div>

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.
