# Missing Start script

**URL:** <https://forum.codewithmosh.com/t/missing-start-script/8089>\
**Category:** React\
**Created:** [October 22, 2021, 4:15pm UTC](https://forum.codewithmosh.com/t/missing-start-script/8089 "2021-10-22T16:15:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavfam](https://avatars.discourse-cdn.com/v4/letter/k/a87d85/32.png) [@kavfam](https://forum.codewithmosh.com/u/kavfam)\
**Post date:** [October 22, 2021, 4:15pm UTC](https://forum.codewithmosh.com/t/missing-start-script/8089/1 "2021-10-22T16:15:13Z")

</div>

At start of Mastering React, you use npm i -g create-react-app@1.5.2 and then create-react-app react-app. Then cd react-app and npm start and it FAILS with missing script start.  
The problem:  
GLOBAL installs of create-react-app are no longer supported.  
The solution:

1. npm uninstall -g create react-app
2. remove the react-app folder completely
3. npx create-react-app react-app (should show “Happy Hacking!” at end of install if it completed correctly and you should see in your react-app folder, subfolders node\_modules, public and src.)
4. cd react-app
5. npm start (should show basic web page)

Happy Hacking!

---

<div class="post-metadata">

**Author:** ![codahboi](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@codahboi](https://forum.codewithmosh.com/u/codahboi)\
**Post date:** [January 6, 2022, 3:08am UTC](https://forum.codewithmosh.com/t/missing-start-script/8089/2 "2022-01-06T03:08:29Z")

</div>

Hi, I’m having the original problem. When using the solution, I’m still getting the same error. I’m also still getting the same warning “a template was not provided. This is likely because you’re using an outdated version of create-react-app” after using npx create-react-app react-app
