title: Node modules in react-native
body: <p>I just tried adding some node modules into react-native. 
  I figure out it will work only with <a href="https://react.parts/native" rel="nofollow noreferrer">react-native modules</a> and <code>react-native link</code> that modules. </p>
  
  <p>I want to use:
  - <a href="https://www.npmjs.com/package/node-google-image-search" rel="nofollow noreferrer">https://www.npmjs.com/package/node-google-image-search</a>
  or 
  - <a href="https://www.npmjs.com/package/first-image-search-load" rel="nofollow noreferrer">https://www.npmjs.com/package/first-image-search-load</a></p>
  
  <p>I tried:
  <a href="https://stackoverflow.com/questions/31577945/how-to-require-node-events-module-in-react-native">Link1</a> <a href="https://stackoverflow.com/questions/32204313/how-to-require-underscore-in-react-native">Link2</a> <a href="https://stackoverflow.com/questions/34325946/react-native-unable-to-resolve-module?rq=1">Link3</a> <a href="http://howtodevelop.eu/question/facebook-ios-react-native-unable-to-resolve-module-xyz,119690" rel="nofollow noreferrer">Link4</a></p>
  
  <p>When I'm using command link with "non-react modules" I still get nothing:
  <a href="https://i.stack.imgur.com/aQibm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aQibm.png" alt="enter image description here"></a></p>
  
  <p>Also, when I just trying to add this module by:</p>
  
  <ol>
  <li><code>import 'first-image-search-load'</code></li>
  <li><code>import {saveFirstImage} from 'first-image-search-load'</code></li>
  <li><code>import * from 'first-image-search-load'</code></li>
  <li><code>var first-image-search-load = require('first-image-search-load');</code></li>
  <li><code>var first-image-search-load = require('./first-image-search-load');</code></li>
  <li><code>var first-image-search-load = require('./node-modules/first-image-search-load');</code></li>
  </ol>
  
  <p>and trying put these in index.android.js I get:
  <a href="https://i.stack.imgur.com/Fjg4b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fjg4b.png" alt="enter image description here"></a></p>
  
  <blockquote>
    <p>The development server returned response error code: 500</p>
    
    <p>URL:
    <a href="http://10.0.2.2:8081/index.android.bundle?platform=android&amp;dev=true&amp;hot=false&amp;minify=false" rel="nofollow noreferrer">http://10.0.2.2:8081/index.android.bundle?platform=android&amp;dev=true&amp;hot=false&amp;minify=false</a></p>
    
    <p>Body: {"message":"Unable to resolve module https from
    /Users/Pien/Projects/smog_bielsko/node_modules/node-google-image-search/index.js:
    Module does not exist in the module map or in these directories:\n 
    /Users/Pien/Projects/smog_bielsko/node_modules/node-google-image-search/node_modules\n,
    /Users/Pien/Projects/smog_bielsko/node_modules\n\nThis might be
    related to <a href="https://github.com/facebook/react-native/issues/4968" rel="nofollow noreferrer">https://github.com/facebook/react-native/issues/4968</a>\nTo
    resolve try the following:\n  1. Clear watchman watches: <code>watchman
    watch-del-all</code>.\n  2. Delete the <code>node_modules</code> folder: <code>rm -rf
    node_modules &amp;&amp; npm install</code>.\n  3. Reset packager cache: <code>rm -fr
    $TMPDIR/react-*</code> or <code>npm start --
    --reset-cache</code>.","name":"UnableToResolveError","type":"UnableToResolveError","errors":[{}]}
    onResponse
        DevServerHelper.java:323 execute
        RealCall.java:126 run
        NamedRunnable.java:32 runWorker
        ThreadPoolExecutor.java:1113 run
        ThreadPoolExecutor.java:588 run
        Thread.java:818</p>
  </blockquote>
  
  <p>Please tell me how I can import normal npm plugins into react-native..</p>
  
  <p>Thx</p>