title: import Swiper show error by using react-native-swiper
body: <p>I try to use swiper from this library <a href="https://github.com/leecade/react-native-swiper" rel="nofollow noreferrer">https://github.com/leecade/react-native-swiper</a></p>
  
  <p>Here is my dependencies:</p>
  
  <pre><code>"react": 16.3.1,
  "react-native": "~0.55.2",
  "react-native-swiper": "^1.5.13"
  </code></pre>
  
  <p>But when i just add this code <code>import Swiper from 'react-native-swiper';</code></p>
  
  <p>My component like:</p>
  
  <pre><code>import React, { Component } from 'react';
  import { View, Text } from 'react-native';
  import Swiper from 'react-native-swiper';
  
  class Welcome extends Component {
    render() {
      return (
        &lt;View&gt;
          &lt;Text&gt;Welcome&lt;/Text&gt;
        &lt;/View&gt;
      );
    }
  }
  
  export default Welcome;
  </code></pre>
  
  <p>It will shows error even i don't use the <code>&lt;Swiper /&gt;</code></p>
  
  <p>error:</p>
  
  <pre><code>Failed to load bundle
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ILyPY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ILyPY.png" alt="enter image description here"></a></p>
  
  <p>Check my terminal error shows:</p>
  
  <pre><code>error: bundling failed: Error: While trying to resolve module `react-native-swiper` from file `/Users/huaweb/ReactNativeProject/Huaweb/src/components/Welcome.js`, the package `/Users/huaweb/ReactNativeProject/Huaweb/node_modules/react-native-swiper/package.json` was successfully found. However, this package itself specifies a `main` module field that could not be resolved (`/Users/huaweb/ReactNativeProject/Huaweb/node_modules/react-native-swiper/index.js`. Indeed, none of these files exist:
  </code></pre>
  
  <p>I don't know what is <code>However, this package itself specifies a</code>main<code>module field that could not be resolved</code></p>
  
  <p>I can't figure it out. Is any thing i miss it ?</p>
  
  <p>Any help would be appreciated, thanks in advance.</p>