# Deploying React app to Github pages and it's blank white

**URL:** <https://forum.freecodecamp.org/t/deploying-react-app-to-github-pages-and-its-blank-white/222680>\
**Category:** General\
**Created:** [August 31, 2018, 3:18am UTC](https://forum.freecodecamp.org/t/deploying-react-app-to-github-pages-and-its-blank-white/222680 "2018-08-31T03:18:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanes](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hanes/32/87416_2.png) [@hanes](https://forum.freecodecamp.org/u/hanes)\
**Post date:** [August 31, 2018, 3:18am UTC](https://forum.freecodecamp.org/t/deploying-react-app-to-github-pages-and-its-blank-white/222680/1 "2018-08-31T03:18:07Z")

</div>

Hello, I need some help to deploy my react app into github page.  
  
I’ve followed everything from [https://github.com/gitname/react-gh-pages/tree/master](https://github.com/gitname/react-gh-pages/tree/master)  
  
my app successfully deployed by npm,  
my repo files on github are exactly the same from the example except for dependencies version in package.json,  
then I go to my site [https://yohanesbawono94.github.io/react-app/](https://yohanesbawono94.github.io/react-app/) andd… as you can see it turns blank white.  
Not so much like I expected like this [https://gitname.github.io/react-gh-pages/](https://gitname.github.io/react-gh-pages/)

I tried to run it locally using `npm start` and this time it works perfectly.

so what do I miss?

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [August 31, 2018, 5:13am UTC](https://forum.freecodecamp.org/t/deploying-react-app-to-github-pages-and-its-blank-white/222680/2 "2018-08-31T05:13:53Z")

</div>

I’m seeing this in the console:

> main.9a0fe4f1.css:1 Failed to load resource: the server responded with a status of 404 ()  
> main.ab3dc2ca.js:1 Failed to load resource: the server responded with a status of 404 ()  
> main.9a0fe4f1.css:1 Failed to load resource: the server responded with a status of 404 ()

I would want to see what files got written to that github pages.

But ultimately, I would just skip that. Rather than use that, you could just user create-react-app (which this does) and just do your own build/deploy. With that you can take those files from the build folder and deploy them to github pages yourself following the [github](https://pages.github.com/) procedure.

---

<div class="post-metadata">

**Author:** ![hanes](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/hanes/32/87416_2.png) [@hanes](https://forum.freecodecamp.org/u/hanes)\
**Post date:** [September 1, 2018, 4:14am UTC](https://forum.freecodecamp.org/t/deploying-react-app-to-github-pages-and-its-blank-white/222680/3 "2018-09-01T04:14:04Z")

</div>

Thank you for your response!   
I worked on it again, just replay the same instructions from those resources and it is working now. I think I made some mistakes with npm gh-pages or so. It’s all new to me, but it’s worth it 👌

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 5:53pm UTC](https://forum.freecodecamp.org/t/deploying-react-app-to-github-pages-and-its-blank-white/222680/4 "2021-01-16T17:53:01Z")

</div>

Closed on January 16, 2021, 5:53pm UTC


