title: Installing Flow with a new React Native App
body: <p>I am trying to get started with Flow with React Native app but I always get an error that the node_module is not properly configured with Flow.</p>
  
  <p>Ultimate in the .flowconfig I added a line to ignore everything  under the <code>node_module</code> director but that gives me an error that it cannot find    'react native' </p>
  
  <pre><code>&gt;     Spawned flow server (pid=70665)
  &gt;     Logs will go to /private/tmp/flow/zSUserszSaxxxzSWorkspacezSprojectzSAwesomeProject.log
  &gt;     Monitor logs will go to /private/tmp/flow/zSUserszSaxxxzSWorkspacezSprojectzSAwesomeProject.monitor_log
  &gt;     Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
  &gt; App.js:3:40
  &gt;     
  &gt;     Cannot resolve module react-native.
  &gt;     
  &gt;          1│ /* @flow */
  &gt;          2│ import React from 'react';
  &gt;          3│ import { StyleSheet, Text, View } from 'react-native';
  &gt;          4│
  &gt;          5│ export default class App extends React.Component {
  &gt;          6│   render() {
  &gt; 
  &gt; Error
  &gt; ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
  &gt; App.js:5:34
  &gt; 
  &gt; Cannot use property Component [1] with less than 1 type argument.
  &gt; 
  &gt;      App.js
  &gt;       2│ import React from 'react';
  &gt;       3│ import { StyleSheet, Text, View } from 'react-native';
  &gt;       4│
  &gt;       5│ export default class App extends React.Component {
  &gt;       6│   render() {
  </code></pre>
  
  <p>what is the proper way to install Flow in a new RN app</p>
  
  <blockquote>
    <p>create-react-native-app AwesomeProject</p>
    
    <p>cd AwesomeProject<br>
    npm start</p>
  </blockquote>