title: React Native - Cannot read property 'addListener' of undefined
body: <p>I was trying to build an app like the <a href="https://github.com/mcnamee/react-native-starter-app" rel="nofollow noreferrer">react-native-starter-app</a> .
  All I did was installing packages mentioned in docs and modifying only the index.ios.js,</p>
  
  <p>Error message:</p>
  
  <p><a href="https://i.stack.imgur.com/LOVAm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LOVAm.png" alt="enter image description here"></a></p>
  
  <p>Here's my code for index.ios.js:</p>
  
  <pre><code>'use strict';
  import React, {
    AppRegistry,
    StyleSheet,
    NavigatorIOS,
    Component,
    Text,
    View,
  } from 'react-native';
  
  var EventEmitter = require('EventEmitter');
  var Subscribable = require('Subscribable');
  
   // 3rd Party Components
  var NavigationBar = require('react-native-navbar');
  var SideMenu = require('react-native-side-menu');
  
   // App Globals
  var AppStyles = require('./ReactApp/styles.ios');
  
   // Components
  var Icons = require('./ReactApp/components/icons.ios');
  var Menu = require('./ReactApp/components/menu.ios');
  
   // Screens / Pages
  var Index = require('./ReactApp/screens/tabbar.ios');
  
  var NewsTable = require('./TFNewsTable');
  
  var styles = StyleSheet.create({
      container: {
          flex: 1,
      }
  });
  
  class MyRNApp extends Component {
  
      render() {
          const menu = &lt;Menu navigator={navigator}/&gt;;
  
          return (
              &lt;SideMenu menu={menu}&gt;
                  &lt;NavigatorIOS
                  style={styles.container}
                  initialRoute={{
                      title: 'Title',
                      component: MyList,
                      leftButtonTitle: 'menu',
                  }}/&gt;
              &lt;/SideMenu&gt;
          );
      }
  }
  AppRegistry.registerComponent('MyRNApp', () =&gt; MyRNApp);
  </code></pre>
  
  <p>The Subscribable.js file was in node_modules folder when I first initiated my app...
  is this a bug or not?</p>