title: Error: Invariant Violation: `new NativeEventEmitter()` requires a non-null argument
body: <p>I am trying to make a drawer menu on my app. I have followed this installation guide <a href="https://reactnavigation.org/docs/drawer-navigator/#installation" rel="nofollow noreferrer">here</a>.</p>
  <p>I have this code</p>
  <pre><code>import { createDrawerNavigator } from '@react-navigation/drawer';  
  
  
  const Drawer = createDrawerNavigator();
  </code></pre>
  <p>My app fails to render when I try to create the drawer object with the <code>createDrawerNavigator()</code> hook. I get the error</p>
  <p><strong>Invariant Violation: <code>new NativeEventEmitter()</code> requires a non-null argument.</strong>.</p>
  <p>I have looked at some answers <a href="https://stackoverflow.com/questions/69083890/invariant-violation-new-nativeeventemitter-requires-a-non-null-argument">here</a> that say I should delete the pod and the pod.lock file and then install the pod again, but I still get the same issue even after doing this and reinstalling the pods.</p>
  <p>Any insight on what could be wrong is appreciated!!</p>