title: Cannot Find Module 'react-native'
body: <p>After following <a href="https://medium.com/@sgroff04/configure-eslint-prettier-and-flow-in-vs-code-for-react-development-c9d95db07213" rel="nofollow noreferrer">this article</a> to set up flow, eslint and prettir exactly(but using yarn instead of npm, if that matters). I either get module not found error on 'react-native' (which would be gone after installing flow-typed) but either way the file in the "Libraries" of react native called "react-native-implementation.js" has errors on almost every line from "cannot fine module 'invariant', 'warnOnce', 'ActivityIndicator'".</p>
  
  <p>Even after installing 'flow-typed' and adding stubs error from App.js goes away but the app does not work throwing this error on Metro server  </p>
  
  <pre><code>error: bundling failed: Error: Cannot find module 'babel-preset-react-native' from 'C:\PropertyFinder'
  - If you want to resolve "react-native", use "module:react-native"
      at Function.module.exports [as sync] (C:\PropertyFinder\node_modules\resolve\lib\sync.js:58:15)
      at resolveStandardizedName (C:\PropertyFinder\node_modules\@babel\core\lib\config\files\plugins.js:101:31)
      at resolvePreset (C:\PropertyFinder\node_modules\@babel\core\lib\config\files\plugins.js:58:10)
      at loadPreset (C:\PropertyFinder\node_modules\@babel\core\lib\config\files\plugins.js:77:20)
      at createDescriptor (C:\PropertyFinder\node_modules\@babel\core\lib\config\config-descriptors.js:154:9)
      at items.map (C:\PropertyFinder\node_modules\@babel\core\lib\config\config-descriptors.js:109:50)
      at Array.map (&lt;anonymous&gt;)
      at createDescriptors (C:\PropertyFinder\node_modules\@babel\core\lib\config\config-descriptors.js:109:29)
      at createPresetDescriptors (C:\PropertyFinder\node_modules\@babel\core\lib\config\config-descriptors.js:101:10)
  </code></pre>
  
  <p>This is not only from my old project but the reproduced one too I need flow for better intellisense.</p>