title: Import package from npm to react native
body: <p>I want to import this npm package from npm but it returns error</p>
  
  <p>I have init new project and done this</p>
  
  <pre><code>npm install @google/maps --save
  
  var googleMapsClient = require('@google/maps')
  </code></pre>
  
  <p>Error is this
  <a href="https://i.stack.imgur.com/74ZNq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/74ZNq.png" alt="enter image description here"></a></p>
  
  <p>this is error log</p>
  
  <pre><code>error: bundling: UnableToResolveError: Unable to resolve module `url` from `/Users/barron9/Downloads/meteor/node_modules/@google/maps/lib/internal/make-api-call.js`: Module does not exist in the module map or in these directories:
    /Users/barron9/Downloads/meteor/node_modules
  ,   /Users/barron9/Downloads/node_modules
  
  This might be related to https://github.com/facebook/react-native/issues/4968
  To resolve try the following:
    1. Clear watchman watches: `watchman watch-del-all`.
    2. Delete the `node_modules` folder: `rm -rf node_modules &amp;&amp; npm install`.
    3. Reset packager cache: `rm -fr $TMPDIR/react-*` or `npm start -- --reset-cache`.
      at ResolutionRequest._resolveNodeDependency (/Users/barron9/Downloads/meteor/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:394:11)
      at ResolutionRequest.resolveDependency (/Users/barron9/Downloads/meteor/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:141:29)
      at dependencyNames.map.name (/Users/barron9/Downloads/meteor/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:145:59)
      at Array.map (native)
      at ResolutionRequest.resolveModuleDependencies (/Users/barron9/Downloads/meteor/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:145:42)
      at Promise.resolve.then (/Users/barron9/Downloads/meteor/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:169:21)
      at process._tickCallback (internal/process/next_tick.js:109:7)
  Bundling `index.android.js`  94.3% (405/417), failed.
  error: bundling: UnableToResolveError: Unable to resolve module `url` from `/Users/barron9/Downloads/meteor/node_modules/@google/maps/lib/internal/make-api-call.js`: Module does not exist in the module map or in these directories:
    /Users/barron9/Downloads/meteor/node_modules
  ,   /Users/barron9/Downloads/node_modules
  </code></pre>