title: React Native Error: Unable to resolve module `./index` in node_modules/react-native
body: <p>I am creating fresh react-native app:</p>
  
  <pre><code>npm install -g react-native-cli
  react-native init FirstProject
  cd FirstProject
  react-native run-android
  </code></pre>
  
  <p>I see the following error message:</p>
  
  <blockquote>
    <p>'Error: Unable to resolve module <code>./index</code> from /home/alex/code/test2/FirstProject/node_modules/react-native/.'</p>
  </blockquote>
  
  <p>By the way, file index.js was created at my project folder (/home/alex/code/test2/FirstProject/index.js)</p>
  
  <p>This is the screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/4TVoy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4TVoy.png" alt=""></a></p>