Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro ao rodar o frontend

Ao rodar o arquivo referente ao frontend com o comando npm start retorno o seguinte erro:

alurapic@0.0.0 start /home/dayane/Protractor/protractor-angular ng serve

Schema validation failed with the following errors: Data path ".builders['app-shell']" should have required property 'class'. Error: Schema validation failed with the following errors: Data path ".builders['app-shell']" should have required property 'class'. at MergeMapSubscriber.project (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/nodemodules/@angular-devkit/core/src/workspace/workspace.js:215:42) at MergeMapSubscriber.tryNext (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:69:27) at MergeMapSubscriber.next (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/node_modules/rxjs/internal/operators/mergeMap.js:59:18) at MergeMapSubscriber.Subscriber.next (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/nodemodules/rxjs/internal/Subscriber.js:67:18) at MergeMapSubscriber.notifyNext (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/nodemodules/rxjs/internal/operators/mergeMap.js:92:26) at InnerSubscriber.next (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/node_modules/rxjs/internal/InnerSubscriber.js:28:21) at InnerSubscriber.Subscriber.next (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/nodemodules/rxjs/internal/Subscriber.js:67:18) at MapSubscriber.next (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/node_modules/rxjs/internal/operators/map.js:55:26) at MapSubscriber.Subscriber.next (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/nodemodules/rxjs/internal/Subscriber.js:67:18) at SwitchMapSubscriber.notifyNext (/home/dayane/Protractor/protractor-angular/nodemodules/@angular/cli/nodemodules/rxjs/internal/operators/switchMap.js:86:26) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! alurapic@0.0.0 start: ng serve npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the alurapic@0.0.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

1 resposta
solução!

Problema resolvido ao alterar angular-devkit no package.json para "@angular-devkit/build-angular": "~0.7.0"