# Create-react-app never ends and doesn't create any app

**URL:** <https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191>\
**Category:** General\
**Created:** [January 10, 2020, 10:14pm UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191 "2020-01-10T22:14:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RadekKosiada](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/radekkosiada/32/68516_2.png) [@RadekKosiada](https://forum.freecodecamp.org/u/RadekKosiada)\
**Post date:** [January 10, 2020, 10:14pm UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191/1 "2020-01-10T22:14:42Z")

</div>

When I create a new react app with  
`npx create-react-app my-app`  
I only get node\_modules and package.json and nothing else.  
I also have to force it to stop, otherwise it never stops.

I searched for the solution and:

- removed and installed newest node.js and npm
- unistalled and installed back create-react-app
- tried `yarn create-react-app my-app`
- tried `npm init react-app my-app`
- also `npm install`
- `npm cache clean --force` & `npm install -g npm@latest --force`

None of this worked and I never could not get full react app.

I have been working with React for some time and never encountered this before.  
I am Windows user.  
What else I can do?

---

<div class="post-metadata">

**Author:** ![snigo](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/snigo/32/128765_2.png) [@snigo](https://forum.freecodecamp.org/u/snigo)\
**Post date:** [January 10, 2020, 11:17pm UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191/2 "2020-01-10T23:17:53Z")

</div>

Well, I can only imagine 2 types of problems here:

1. Permissions (very unlikely as npm would immediately throw an error)
2. Network (most likely)

Did you try to ping package: `npm ping create-react-app`?

UPDATE: Actually, if install starts - ping would be ok 😛 Try to create hotspot from phone and try again maybe.

---

<div class="post-metadata">

**Author:** ![alkapwn3d](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/alkapwn3d/32/92787_2.png) [@alkapwn3d](https://forum.freecodecamp.org/u/alkapwn3d)\
**Post date:** [January 10, 2020, 11:21pm UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191/3 "2020-01-10T23:21:49Z")

</div>

nuclear option: delete all node\_modules and npm files and folders manually then reinstall them

death star option: buy a new computer

---

<div class="post-metadata">

**Author:** ![gopinath1246](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/gopinath1246/32/142911_2.png) [@gopinath1246](https://forum.freecodecamp.org/u/gopinath1246)\
**Post date:** [April 15, 2020, 1:17pm UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191/4 "2020-04-15T13:17:46Z")

</div>

Even I had the same issue and after lot of struggle found the fix . So, if you are unable create the app try reinstalling nodeJS in 32-bits and try it. This helped me fix this issue. Hope, it helps you too! Happy hacking 😉

---

<div class="post-metadata">

**Author:** ![abdulkather](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@abdulkather](https://forum.freecodecamp.org/u/abdulkather)\
**Post date:** [June 19, 2020, 7:06am UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191/5 "2020-06-19T07:06:10Z")

</div>

I am also facing the same issue. did you find any solution for this?

---

<div class="post-metadata">

**Author:** ![akshdeep.rajawat](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/akshdeep.rajawat/32/182316_2.png) [@akshdeep.rajawat](https://forum.freecodecamp.org/u/akshdeep.rajawat)\
**Post date:** [May 30, 2021, 12:48pm UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191/6 "2021-05-30T12:48:55Z")

</div>

If anyone is still facing the same issue. Here is a quick fix:

```auto
npm config set registry "http://registry.npmjs.org"

```

then

```auto
npm set maxsockets 3

```

Thanks to: [https://stackoverflow.com/questions/54397626/stuck-at-npm-install-at-fechmetadata-checking-installable-status](https://stackoverflow.com/questions/54397626/stuck-at-npm-install-at-fechmetadata-checking-installable-status)

---

<div class="post-metadata">

**Author:** ![Roma](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roma/32/112899_2.png) [@Roma](https://forum.freecodecamp.org/u/Roma)\
**Post date:** [May 30, 2021, 3:07pm UTC](https://forum.freecodecamp.org/t/create-react-app-never-ends-and-doesnt-create-any-app/340191/7 "2021-05-30T15:07:30Z")

</div>

Closed on May 30, 2021, 3:07pm UTC


