-1
I have a project for car rental didactic purposes. I already managed the WAR file of the Back End project, now I need to generate the Angular files.
However, when I will generate the build of my project, through the "ng build" command, the following error occurs:
Progress Plugin Invalid Options
options['colors'] is an invalid additional property
options should pass "instanceof" keyword validation
options should match exactly one schema in oneOf
ValidationError: Progress Plugin Invalid Options
options['colors'] is an invalid additional property
options should pass "instanceof" keyword validation
options should match exactly one schema in oneOf
at validateOptions (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\schema-utils\src\validateOptions.js:31:11)
at new ProgressPlugin (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\webpack\lib\ProgressPlugin.js:90:3)
at Object.getCommonConfig (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\@angular-devkit\build-angular\src\angular-cli-files\models\webpack-configs\common.js:
123:27)
at BrowserBuilder.buildWebpackConfig (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\@angular-devkit\build-angular\src\browser\index.js:74:31)
at MergeMapSubscriber.rxjs_1.of.pipe.operators_1.concatMap [as project] (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\@angular-devkit\build-angular\src\brows
er\index.js:31:38)
at MergeMapSubscriber._tryNext (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\operators\mergeMap.js:65:27)
at MergeMapSubscriber._next (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\operators\mergeMap.js:55:18)
at MergeMapSubscriber.Subscriber.next (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\Subscriber.js:64:18)
at TapSubscriber._next (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\operators\tap.js:62:26)
at TapSubscriber.Subscriber.next (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\Subscriber.js:64:18)
at MergeMapSubscriber.notifyNext (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\operators\mergeMap.js:84:26)
at InnerSubscriber._next (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\InnerSubscriber.js:25:21)
at InnerSubscriber.Subscriber.next (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\Subscriber.js:64:18)
at ForkJoinSubscriber.notifyComplete (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\observable\forkJoin.js:79:25)
at InnerSubscriber._complete (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\InnerSubscriber.js:32:21)
at InnerSubscriber.Subscriber.complete (C:\Users\gustavo.zaffani\IdeaProjects\projetoTCC\projetoClient\node_modules\rxjs\internal\Subscriber.js:76:18)
Has anyone ever faced the same problem, or could you tell me what it might be?
The versions I’m using are: Version of NPM 6.4.1 Angular CLI 7.2.2 I made the change you mentioned, but when I run the project it presents an error right in the changed file. @Dalmo.santos
– GUSTAVO HENRIQUE LOPES SPACHUK
Now I went to take a closer look at the link you put in your answer, and I was able to solve the problem by placing Webpack in the dependencies of "package.json". Valeww
– GUSTAVO HENRIQUE LOPES SPACHUK