title: React Native the module could not be found
body: <p>I run the project yesterday and it works very well. Today, when I run my RN project with <code>react-native run-ios</code> and I got module could not be found suddenly.</p>
  
  <p>My project's React-native versions</p>
  
  <pre><code>react-native-cli: 2.0.1
  react-native: 0.52.2
  </code></pre>
  
  <p>My project's watchman version</p>
  
  <pre><code>4.9.0
  </code></pre>
  
  <p>My Folder Structure</p>
  
  <pre><code>src
    components
    screens
    stores
    Config.js
  </code></pre>
  
  <p>The following is my <strong>Config.js</strong></p>
  
  <pre><code>const host = "localhost:5000";
  const proto = "http://";
  const api = "/api";
  
  const Config = {
    urls: {
      signin_start: proto + host + api + "/signin/start",
      signin_verify: proto + host + api + "/signin/verify",
    }
  };
  
  export default Config;
  </code></pre>
  
  <p>I use Config from <code>screens/signInStart.js</code> file like the following</p>
  
  <pre><code>import Config from "../Config";
  </code></pre>
  
  <p>And I got an error like the following</p>
  
  <pre><code>The module `../Config` could not be found
  </code></pre>
  
  <p>How can I fix? I already do clear react native cache by running the following command. But, still can't fix.</p>
  
  <pre><code>watchman watch-del-all &amp;&amp; rm -rf $TMPDIR/react-* &amp;&amp; rm -rf node_modules/ &amp;&amp; npm cache clean &amp;&amp; npm install &amp;&amp; npm start -- --reset-cache
  </code></pre>