title: ReactJS is not loading/rendering
body: <p>Today when I started up the iMac to continue working on the ReactJS app...it doesn't load...</p>
  
  <p>What I mean by "load" is, it doesn't display the content of any page.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot read property 'getCurrentLocation' of undefined</p>
  </blockquote>
  
  <p>If you need the code of App.js and index.js
  here they are:</p>
  
  <p>App.js:</p>
  
  <pre><code>import React, { Component } from 'react';
  import Header from './pages/Header';
  import Footer from './pages/Footer';
  
  import './css/App.css';
  
  class App extends Component {
    render() {
      return (
        &lt;div className="App"&gt;
  
          &lt;Header /&gt;
  
              {/*Content*/}
              &lt;div&gt; App Page &lt;/div&gt;
  
          &lt;Footer /&gt;
  
        &lt;/div&gt;
      );
    }
  }
  
  export default App;
  </code></pre>
  
  <p>index.js:</p>
  
  <pre><code>import { Router, Route, History } from 'react-router';
  import React from 'react';
  import ReactDOM from 'react-dom';
  import App from './App';
  
  // CSS
  import './css/index.css';
  
  // Pages
  import About from './pages/About';
  import Register from './pages/Register';
  import Cart from './pages/Cart';
  import Thanks from './pages/Thanks';
  import Faq from './pages/Faq';
  import Contact from './pages/Contact';
  import Error from './pages/Error';
  
  ReactDOM.render((
    &lt;Router history={History}&gt;
      &lt;Route path="/" component={App}&gt;
          &lt;Route path="/pages/about" component={About}/&gt;
          &lt;Route path="/pages/Register" component={Register}/&gt;
          &lt;Route path="/pages/Cart" component={Cart}/&gt;
          &lt;Route path="/pages/Thanks" component={Thanks}/&gt;
          &lt;Route path="/pages/Error" component={Error}/&gt;
          &lt;Route path="/pages/Faq" component={Faq}/&gt;
          &lt;Route path="/pages/Contact" component={Contact}/&gt;
      &lt;/Route&gt;
    &lt;/Router&gt;
  ), document.getElementById('root'))
  </code></pre>