title: React native / node issue: The package was successfully found. However, the package specifies a `main` module field that could not be resolved
body: <p>I am new to node and React Native and I have an issue that I hope someone can help me resolve.
  I and another person are making a React Native application and currently I am trying to piece together a backend made by the other person with my frontend and I get the following error:</p>
  
  <p>While trying to resolve module <code>http</code> from file <code>/Users/alex/ParkME/node_modules/node-fetch/index.js</code>, the package <code>/Users/alex/ParkME/node_modules/http/package.json</code> was successfully found. However, this package itself specifies a <code>main</code> module field that could not be resolved (<code>/Users/alex/ParkME/node_modules/http/index.js</code>. Indeed, none of these files exist:</p>
  
  <ul>
  <li><code>/Users/alex/ParkME/node_modules/http/index.js(.native||.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.json|.native.expo.json|.expo.json|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)</code></li>
  <li><code>/Users/alex/ParkME/node_modules/http/index.js/index(.native||.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.json|.native.expo.json|.expo.json|.ios.js|.native.js|.js|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)</code>
  Failed building JavaScript bundle.</li>
  </ul>
  
  <p>Does anyone know what the issue might be?</p>