TypeError: Cannot read property ‘0’ of undefined
at Object.exports.parseConfig (F:\IndiansInCA\node_modules@ionic\app-scripts\dist\util\cordova-config.js:34:26)
at F:\IndiansInCA\node_modules@ionic\app-scripts\dist\util\cordova-config.js:22:24
at Parser. (F:\IndiansInCA\node_modules\xml2js\lib\parser.js:303:18)
at emitOne (events.js:116:13)
at Parser.emit (events.js:211:7)
at SAXParser.onclosetag (F:\IndiansInCA\node_modules\xml2js\lib\parser.js:261:26)
at emit (F:\IndiansInCA\node_modules\sax\lib\sax.js:624:35)
at emitNode (F:\IndiansInCA\node_modules\sax\lib\sax.js:629:5)
at closeTag (F:\IndiansInCA\node_modules\sax\lib\sax.js:889:7)
at SAXParser.write (F:\IndiansInCA\node_modules\sax\lib\sax.js:1436:13)
Your Cordova tooling seems to be out of date, which might be causing all kinds of problems.
You can read about how to figure out the current Cordova versions and how to update CLI, platforms and plugins here: How to update Cordova CLI, Platforms and Plugins · ionic.zone
in updating of android platform. platform is update but this error is also come
Android project created with cordova-android@7.1.0
Android Studio project detected
Android Studio project detected
(node:5744) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘replace’ of null
at updateProjectAccordingTo (F:\IndiansInCA\platforms\android\cordova\lib\prepare.js:174:58)
at F:\IndiansInCA\platforms\android\cordova\lib\prepare.js:47:16
at _fulfilled (F:\IndiansInCA\platforms\android\cordova\node_modules\q\q.js:854:54)
at self.promiseDispatch.done (F:\IndiansInCA\platforms\android\cordova\node_modules\q\q.js:883:30)
at Promise.promise.promiseDispatch (F:\IndiansInCA\platforms\android\cordova\node_modules\q\q.js:816:13)
at F:\IndiansInCA\platforms\android\cordova\node_modules\q\q.js:570:49
at runSingle (F:\IndiansInCA\platforms\android\cordova\node_modules\q\q.js:137:13)
at flush (F:\IndiansInCA\platforms\android\cordova\node_modules\q\q.js:125:13)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickCallback (internal/process/next_tick.js:180:9)
(node:5744) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:5744) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.