After so much trying and trying, and more trying, I have a project assigned in Ionic which is generating an error when generating the code:
ionic cordova build --debug android
ionic cordova build --debug android
Running app-scripts build: --platform android --target cordova
[09:26:12] build dev started ...
[09:26:13] clean started ...
[09:26:13] clean finished in 41 ms
[09:26:13] copy started ...
[09:26:13] deeplinks started ...
[09:26:13] deeplinks finished in 184 ms
[09:26:13] transpile started ...
[09:26:18] transpile finished in 4.79 s
[09:26:18] preprocess started ...
[09:26:18] preprocess finished in 2 ms
[09:26:18] webpack started ...
[09:26:18] copy finished in 5.25 s
[09:26:26] webpack finished in 8.44 s
[09:26:26] sass started ...
[09:26:29] sass finished in 2.54 s
[09:26:29] postprocess started ...
[09:26:29] postprocess finished in 46 ms
[09:26:29] lint started ...
[09:26:29] build dev finished in 16.33 s
cordova build android --debug
(node:17032) UnhandledPromiseRejectionWarning: Error: Unhandled "error" event. (Parsing D:\xxxxxxx\Documentos\Visual Studio 2012\Projects\vigia\vigianew\vigia\platforms\android\res\xml\config.xml failed) at EventEmitter.emit (events.js:186:19) at EventEmitter.module.exports.emit (C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\events.js:71:17) at new ConfigParser
(C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\ConfigParser\ConfigParser.js:34:16) at new module.exports (D:\xxxxxxx\Documentos\Visual Studio 2012\Projects\vigia\vigianew\vigia\plugins\cordova-plugin-crosswalk-webview\hooks\update_config.js:37:25) at module.exports (D:\xxxxxxx\Documentos\Visual Studio 2012\Projects\vigia\vigianew\vigia\plugins\cordova-plugin-crosswalk-webview\hooks\before_buildionic cordova build --debug android
ionic cordova build --debug android
Running app-scripts build: --platform android --target cordova
[09:26:12] build dev started ...
[09:26:13] clean started ...
[09:26:13] clean finished in 41 ms
[09:26:13] copy started ...
[09:26:13] deeplinks started ...
[09:26:13] deeplinks finished in 184 ms
[09:26:13] transpile started ...
[09:26:18] transpile finished in 4.79 s
[09:26:18] preprocess started ...
[09:26:18] preprocess finished in 2 ms
[09:26:18] webpack started ...
[09:26:18] copy finished in 5.25 s
[09:26:26] webpack finished in 8.44 s
[09:26:26] sass started ...
[09:26:29] sass finished in 2.54 s
[09:26:29] postprocess started ...
[09:26:29] postprocess finished in 46 ms
[09:26:29] lint started ...
[09:26:29] build dev finished in 16.33 s
cordova build android --debug
(node:17032) UnhandledPromiseRejectionWarning: Error: Unhandled "error" event. (Parsing D:\xxxxxxx\Documentos\Visual Studio 2012\Projects\vigia\vigianew\vigia\platforms\android\res\xml\config.xml failed) at EventEmitter.emit (events.js:186:19) at EventEmitter.module.exports.emit (C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\events.js:71:17) at new ConfigParser
(C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-common\src\ConfigParser\ConfigParser.js:34:16) at new module.exports (D:\xxxxxxx\Documentos\Visual Studio 2012\Projects\vigia\vigianew\vigia\plugins\cordova-plugin-crosswalk-webview\hooks\update_config.js:37:25) at module.exports (D:\xxxxxxx\Documentos\Visual Studio 2012\Projects\vigia\vigianew\vigia\plugins\cordova-plugin-crosswalk-webview\hooks\before_build%pre%0-build_64_bit.js:8:24) at runScriptViaModuleLoader (C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:188:18) at runScript (C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:164:16) at C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:132:20 at _fulfilled
(C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54) at self.promiseDispatch.done
(C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30)
(node:17032) 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:17032) [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.
0-build_64_bit.js:8:24) at runScriptViaModuleLoader (C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:188:18) at runScript (C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:164:16) at C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:132:20 at _fulfilled
(C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54) at self.promiseDispatch.done
(C:\Users\xxxxxxx\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:816:30)
(node:17032) 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:17032) [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.
I tried updating plugins from cordova but nothing I do not give with the joke, if someone has an idea for me it would be very helpful.
Beforehand, thank you.