title: Getting error while doing react-native link
body: <p>I am creating project in react native for android and tried to install <code>native-base</code> using the following command <code>npm install native-base --save</code>. After that when I am linking the library using <code>react-native link</code> I am getting error as follow.</p>
  
  <pre><code>rnpm-install ERR! ERRPACKAGEJSON No package found. Are you sure this is a React Native project?
  
  Cannot read property '_text' of undefined
  
  TypeError: Cannot read property '_text' of undefined
      at SAXParser.parser_text [as ontext] (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/xmldoc/lib/xmldoc.js:235:39)
      at emit (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/xmldoc/node_modules/sax/lib/sax.js:639:35)
      at closeText (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/xmldoc/node_modules/sax/lib/sax.js:649:26)
      at emitNode (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/xmldoc/node_modules/sax/lib/sax.js:643:26)
      at SAXParser.write (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/xmldoc/node_modules/sax/lib/sax.js:1195:15)
      at new XmlDocument (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/xmldoc/lib/xmldoc.js:199:15)
      at readManifest (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/react-native/local-cli/core/android/readManifest.js:20:10)
      at Object.projectConfigAndroid [as projectConfig] (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/react-native/local-cli/core/android/index.js:41:20)
      at Object.keys.forEach.key (/home/codism-8/NewReactWorkSpace/NamazTiming/node_modules/react-native/local-cli/core/index.js:101:36)
      at Array.forEach (&lt;anonymous&gt;)
  </code></pre>
  
  <p>I followed this documentation <a href="http://docs.nativebase.io/docs/GetStarted.html" rel="nofollow noreferrer">http://docs.nativebase.io/docs/GetStarted.html</a>. I am not getting what is the problem. Please help</p>
  
  <p>Package.json</p>
  
  <pre><code>"dependencies": {
      "native-base": "^2.12.0",
      "react": "16.6.3",
      "react-native": "^0.57.7",
      "react-native-flash-message": "^0.1.10",
      "react-native-linear-gradient": "^2.5.3",
      "react-native-modal-datetime-picker": "^6.0.0",
      "react-native-navigation": "^2.8.0",
      "react-native-tab-view": "^1.3.2",
      "react-native-vector-icons": "^6.2.0",
      "react-redux": "^6.0.1",
      "redux": "^4.0.1",
      "redux-thunk": "^2.3.0"
    },
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mf75H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mf75H.png" alt="enter image description here"></a></p>