title: React Native - While inserting image got 500 error
body: <p>Let me tell you i am totally new into react native and in fact this is my first app which i am building. I am dying by this annoying error . This error comes whenever i am adding any image to my project . The syntax i am using is </p>
  
  <pre><code>import React, { Component } from 'react';
  import {
    StyleSheet,
    Image,
    Text,
    View
  } from 'react-native';
  
  export default class Login extends Component {
    render() {
      return (
        &lt;View style={styles.container}&gt;
          &lt;View style={styles.splashlogo}&gt;
            &lt;Image
              source={require('../../images/splashscreenlogo.png')}
            /&gt;            
            &lt;Text&gt;
              Modeloca
            &lt;/Text&gt;
          &lt;/View&gt;
        &lt;/View&gt;
      );
    }
  }
  </code></pre>
  
  <p>but getting this error </p>
  
  <pre><code>com.facebook.react.common.JavascriptException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:8081/index.android.bundle?platform=android&amp;dev=true&amp;hot=true&amp;minify=false' failed to load.
  
  Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:8081/index.android.bundle?platform=android&amp;dev=true&amp;hot=true&amp;minify=false' failed to load.
  loadApplicationScript
      WebsocketJavaScriptExecutor.java:173
  run
      NativeRunnable.java
  handleCallback
      Handler.java:739
  dispatchMessage
      Handler.java:95
  dispatchMessage
      MessageQueueThreadHandler.java:31
  loop
      Looper.java:135
  run
      MessageQueueThreadImpl.java:194
  run
      Thread.java:818
  </code></pre>
  
  <p>any suggestion!</p>