title: Error when using react-native-gesture-handler
body: <p><strong>When I am trying to use react-native-gesture handler I am getting the following error:</strong></p>
  <p>: While trying to resolve module 'react-native-gesture-handler' from file '/Users/user/Project/index.js', the package '/Users/user/Project/node_modules/react-native-gesture-handler/package.json' was successfully found. However, this package itself specifies a 'main' module field that could not be resolved ('/Users/user/Project/node_modules/react-native-gesture-handler/index.js'. Indeed, none of these files exist: [...]</p>
  <p><strong>My index.js file:</strong></p>
  <pre><code>/**
   * @format
   */
  import 'react-native-gesture-handler';
  import { NavigationContainer, StackActions } from '@react-navigation/native';
  import { createStackNavigator } from '@react-navigation/stack';
  import React from 'react';
  import {AppRegistry} from 'react-native';
  import Logsg from './screens/logsg.js';
  import {name as appName} from './app.json';
  
  const AuthStack = () =&gt; {
  return(
   &lt;NavigationContainer&gt;
       &lt;Stack.Navigator&gt;
           &lt;Stack.Screen name=&quot;Logsg&quot; component ={Logsg}/&gt;
       &lt;/Stack.Navigator&gt;
   &lt;/NavigationContainer&gt;
  )
  }
  
  
  AppRegistry.registerComponent(appName, () =&gt; AuthStack);
  </code></pre>