title: Create-React-App shows blank page on WHM/cPanel server
body: <p>I am trying to deploy a React app into production and it seems I'm running into a problem I can't fix with any of the online answers I researched through so far.</p>
  
  <p>I've created an app with a simple login/register system and used redux+saga to do so.</p>
  
  <p>After I run:</p>
  
  <pre><code>npm run-script build
  </code></pre>
  
  <p>I get a message such as that the build folder is ready to be deployed (all good so far). After I upload my files to the 'public_html' folder in cPanel, I get a blank page with React App as title and favicon loaded.</p>
  
  <p>What I have tried so far to fix this:</p>
  
  <ol>
  <li>set homepage as '.' in package.json (no luck, checking the network
  tab shows that all files load with a 200 status, OK)</li>
  <li>update to the latest version of my dependencies</li>
  <li>installed node and tried to 'serve' the build (I really did not understood this part)</li>
  </ol>
  
  <p>Also, I have an error in the console (probably totally unrelated to the web app not showing anything since I have redux dev tools in the config):</p>
  
  <p>console log error:</p>
  
  <p><a href="https://i.stack.imgur.com/IXcmh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IXcmh.png" alt="enter image description here"></a></p>
  
  <p>I am pretty desperate to find a solution to this. Thank you for your contribution and time.</p>
  
  <p>store.js:</p>
  
  <pre><code>import { createBrowserHistory } from 'history';
  import { applyMiddleware, compose, createStore } from 'redux';
  import { routerMiddleware } from 'connected-react-router'
  import createSagaMiddleware from 'redux-saga';
  
  import rootReducer from './index';
  import rootSaga from './sagas';
  
  const defaultState = {};
  
  export const history = createBrowserHistory()
  
  const sagaMiddleware = createSagaMiddleware()
  
  const store = createStore(
    rootReducer(history),
    defaultState,
    compose(
      applyMiddleware(
        routerMiddleware(history),
        sagaMiddleware
      ),
      window.__REDUX_DEVTOOLS_EXTENSION__ &amp;&amp; window.__REDUX_DEVTOOLS_EXTENSION__()
    )
  );
  
  sagaMiddleware.run(rootSaga);
  
  export default store;
  </code></pre>