title: react-router-redux: Cannot read property 'listen' of undefined at syncHistoryWithStore
body: <p>I'm in the process of Refactoring clean Ract app to Redux.
  I have deifned some actions and reducers tested.
  I got stack on Router &amp; History.<br>
  I'm getting error:</p>
  <blockquote>
  <p>Uncaught TypeError: Cannot read property 'listen' of undefined at syncHistoryWithStore</p>
  </blockquote>
  <p>from simple code:</p>
  <pre class="lang-js prettyprint-override"><code>    //configureStore.jsx
      import redux from 'redux';
      import {buildingReducer, levelReducer, roomReducer} from 'reducers';
      import {routerReducer} from 'react-router-redux';
  
      export let configure = (initialState = {}) =&gt; {
          let reducer = redux.combineReducers({
              building: buildingReducer,
              level: levelReducer,
              room: roomReducer,
              routing: routerReducer
         });
  
         let store = redux.createStore(reducer, initialState, redux.compose(
          window.devToolsExtension ? window.devToolsExtension() : f =&gt; f));
  
         return store;
  
      };
  
  </code></pre>
  <p>&amp;</p>
  <pre class="lang-js prettyprint-override"><code>    //app.jsx
      import React from 'react';
      import ReactDOM from 'react-dom';
      import { Router, Route, IndexRoute, browserHistory, hashHistory } from 'react-router';
      import {Provider} from 'react-redux';
      import {syncHistoryWithStore} from 'react-router-redux'
  
      var actions = require('actions');
      var store = require('configureStore').configure();
  
      const history = syncHistoryWithStore(browserHistory, store);
  
      ReactDOM.render(
        &lt;Provider store={store}&gt;
          &lt;Router history={history}&gt;
              &lt;Route path=&quot;/&quot; component={Main}&gt;
                  &lt;IndexRoute component={Map}/&gt;
                  &lt;Route path=&quot;report&quot; component={Report}/&gt;
                  &lt;Route path=&quot;about&quot; component={About}/&gt;
              &lt;/Route&gt;
          &lt;/Router&gt;
        &lt;/Provider&gt;,
       document.getElementById('react_app')
      );
  </code></pre>
  <p>I'm out of any idea why this happens :(</p>