简体   繁体   中英

Unable to build APP - Schema validation failed with the following errors: Data path ".builders['cordova-build']" should have required property 'class'

ng run app:ionic-cordova-build:production --platform=android Schema validation failed with the following errors: Data path ".builders['cordova-build']" should have required property 'class'. [ERROR] An error occurred while running subprocess ng.

ng run app:ionic-cordova-build:production --platform=android exited with exit code 1.

Re-running this command with the --verbose flag may provide more information.

I was able to solve that issue by doing the below:

npm i @angular-devkit/architect@latest 
npm i @angular-devkit/build-angular@latest
npm i @angular-devkit/core@latest 
npm i @angular-devkit/schematics@latest

hope this will help you too.

cheers

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM