initially my projct worked and generates apk …but now when i add new page in my project using ionic g page command then am getting following error :
G:\ion\cam>ionic cordova build android
Running app-scripts build: --platform android --target cordova
[17:45:36] build dev started …
[17:45:36] clean started …
[17:45:36] clean finished in less than 1 ms
[17:45:36] copy started …
[17:45:36] deeplinks started …
[17:45:37] deeplinks finished in 47 ms
[17:45:37] transpile started …
[17:45:42] transpile finished in 5.61 s
[17:45:42] preprocess started …
[17:45:42] preprocess finished in less than 1 ms
[17:45:42] webpack started …
[17:45:42] copy finished in 5.88 s
[17:45:51] webpack finished in 8.79 s
[17:45:51] sass started …
Without from
option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to undefined
to prevent this warning.
[17:45:52] sass finished in 1.42 s
[17:45:52] postprocess started …
[17:45:52] postprocess finished in 16 ms
[17:45:52] lint started …
[17:45:53] build dev finished in 16.27 s
cordova build android
cp: copyFileSync: could not write to dest file (code=ENOENT):G:\ion\cam\platforms\android\res\xml\config.xml
Parsing G:\ion\cam\platforms\android\res\xml\config.xml failed
(node:14132) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open ‘G:\ion\cam\platforms\android\res\xml\config.xml’
(node:14132) [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.
[17:45:58] lint finished in 5.92 s
please helped to solve above problem what changes i have to made in my project for above error