@pedroamoury wrote:
Hello!
This error has never given before, can you help me ?
Failed to install 'com.jareddickson.cordova.tag-manager': Error: ENOENT: no such file or directory, open 'C:\projetos\mobile\dev\hos-mobile\platforms\android\AndroidManifest.xml' at Object.fs.openSync (fs.js:646:18) at Object.fs.readFileSync (fs.js:551:33) at Object.parseElementtreeSync (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\node_modules\cordova-common\src\util\xml-helpers.js:180:27) at new AndroidManifest (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\lib\AndroidManifest.js:29:20) at AndroidProject.getPackageName (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\lib\AndroidProject.js:99:12) at Api.addPlugin (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\Api.js:223:57) at handleInstall (C:\Users\pedro.lopes\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:594:10) at C:\Users\pedro.lopes\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\plugman\install.js:357:28 at _fulfilled (C:\Users\pedro.lopes\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54) at self.promiseDispatch.done (C:\Users\pedro.lopes\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30) Failed to restore plugin "cordova-plugin-tag-manager" from config.xml. You might need to try adding it again. Error: Error: ENOENT: no such file or directory, open 'C:\projetos\mobile\dev\hos-mobile\platforms\android\AndroidManifest.xml' Checking for any plugins added to the project that have not been installed in android platform No differences found between plugins added to project and installed in android platform. Continuing... Generating platform-specific config.xml from defaults for android at C:\projetos\mobile\dev\hos-mobile\platforms\android\res\xml\config.xml cp: copyFileSync: could not write to dest file (code=ENOENT):C:\projetos\mobile\dev\hos-mobile\platforms\android\res\xml\config.xml Merging project's config.xml into platform-specific android config.xml Parsing C:\projetos\mobile\dev\hos-mobile\platforms\android\res\xml\config.xml failed (node:6756) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'C:\projetos\mobile\dev\hos-mobile\platforms\android\res\xml\config.xml' at Object.fs.openSync (fs.js:646:18) at Object.fs.readFileSync (fs.js:551:33) at Object.parseElementtreeSync (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\node_modules\cordova-common\src\util\xml-helpers.js:180:27) at new ConfigParser (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\node_modules\cordova-common\src\ConfigParser\ConfigParser.js:30:24) at updateConfigFilesFrom (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\lib\prepare.js:106:18) at Api.module.exports.prepare (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\lib\prepare.js:42:20) at Api.prepare (C:\projetos\mobile\dev\hos-mobile\platforms\android\cordova\Api.js:192:45) at C:\Users\pedro.lopes\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\prepare.js:106:36 at _fulfilled (C:\Users\pedro.lopes\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54) at self.promiseDispatch.done (C:\Users\pedro.lopes\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30) (node:6756) 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:6756) [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. [ERROR] An error occurred while running subprocess cordova. cordova build android --verbose exited with exit code 1. Re-running this command with the --verbose flag may provide more information. ionic:cli-framework:utils:process onBeforeExit handler: process.exit received +0ms ionic:cli-framework:utils:process onBeforeExit handler: running 2 queued functions +0ms ionic:cli-framework:utils:process onBeforeExit handler: exiting (exit code 1) +16ms
Posts: 1
Participants: 1