I used to build my angular 5 projects with command:
ng build --prod --locale=de --base-href /onlineshopNP/de/ -op dist/de
I've updated my project to angular 6 and when I call the command, I'm getting an error like this:
Schema validation failed with the following errors: Data path "" should NOT have additional properties (o). Error: Schema validation failed with the following errors: Data path "" should NOT have additional properties (o). at MergeMapSubscriber.registry.compile.pipe.operators_1.concatMap.validatorResult [as project] (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\architect\src\architect.js:218:39) at MergeMapSubscriber._tryNext (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\architect\node_modules\rxjs\operators\mergeMap.js:122:27) at MergeMapSubscriber._next (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\architect\node_modules\rxjs\operators\mergeMap.js:112:18) at MergeMapSubscriber.Subscriber.next (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\architect\node_modules\rxjs\Subscriber.js:90:18) at MergeMapSubscriber.notifyNext (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\architect\node_modules\rxjs\operators\mergeMap.js:145:30) at InnerSubscriber._next (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\architect\node_modules\rxjs\InnerSubscriber.js:23:21) at InnerSubscriber.Subscriber.next (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\architect\node_modules\rxjs\Subscriber.js:90:18) at SafeSubscriber.__tryOrSetError (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\core\node_modules\rxjs\Subscriber.js:248:16) at SafeSubscriber.next (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\core\node_modules\rxjs\Subscriber.js:188:27) at MapSubscriber._next (C:\Users\martin.kuenz\Documents\Angular\webshop\node_modules\@angular-devkit\core\node_modules\rxjs\operators\map.js:85:26)
Can anybody help me?
Thx
npm compileto find the error, solve that, then do a clean install of the node modules. - matchifang