title: How do I fix RN suddenly being unable to find local modules (Unable to resolve module)?
body: <p>I've got a strange situation where suddenly my RN app won't load any of its scenes. The app has been running fine for weeks and I haven't moved any of the files. The failure: </p>
  
  <pre><code>error: bundling: UnableToResolveError: Unable to resolve module `./src/scenes/splash` from `/Users/jcollum/projects/starsApp/index.ios.js`: Directory /Users/jcollum/projects/starsApp/src/scenes/splash doesn't exist
  at Promise.resolve.then (/Users/jcollum/projects/starsApp/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:445:15)
  at process._tickCallback (internal/process/next_tick.js:109:7)
  </code></pre>
  
  <p>My import statements look like: </p>
  
  <pre><code>import React, { Component } from 'react';
  import { AppRegistry, StyleSheet, Text, View } from 'react-native';
  import { Router, Scene } from 'react-native-router-flux';
  import Icon from 'react-native-vector-icons/FontAwesome';
  import Splash from './src/scenes/splash';
  </code></pre>
  
  <p>The scene definitely exists:  </p>
  
  <pre><code>$ ll /Users/jcollum/projects/starsApp/src/scenes/splash.js 
  -rw-r--r--  1 jcollum  staff   722B Apr 26 10:12 /Users/jcollum/projects/starsApp/src/scenes/splash.js
  </code></pre>
  
  <p>And it has an <code>export default</code>:</p>
  
  <pre><code>import React, { Component, PropTypes } from 'react';
  import { View, Text, TouchableHighlight, Image } from 'react-native';
  import styles from '../styles'
  import { Actions } from 'react-native-router-flux';
  
  export default class Splash extends Component {
    componentWillMount() {
      setTimeout(() =&gt; {
        Actions.Home()
      }, 1000);
    }
  
    render() {
      console.log(`rendering Splash`);
      return (
        &lt;View ...
  </code></pre>
  
  <p>Things I have tried: </p>
  
  <ul>
  <li>restarting packager</li>
  <li>resetting content and settings </li>
  <li>checking out a previous commit</li>
  <li>clearing temp dir: <code>rm -fr $TMPDIR/react-*</code> </li>
  </ul>
  
  <p><code>react-native --version</code></p>
  
  <pre><code>react-native-cli: 2.0.1
  react-native: 0.43.2
  </code></pre>
  
  <p>What could be causing this? Why would this suddenly stop loading resources? What's the next thing to try?  </p>