Antes dessa aula estava funcionando normal. Estou com seguinte erro no terminal ao tentar salvar:
Date: 2021-09-10T15:31:33.367Z - Hash: 559ab95e154e5d853ea1
4 unchanged chunks
chunk {main} main.js, main.js.map (main) 21.3 kB [initial] [rendered]
Time: 307ms
: Compiled successfully.
ERROR in src/app/app.module.ts:13:5 - error NG6001: The class 'ExtratoComponent' is listed in the declarations of the NgModule 'AppModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator.
13 ExtratoComponent
~~~~~~~~~~~~~~~~
src/app/extrato/extrato.component.ts:8:14
8 export class ExtratoComponent implements OnInit {
~~~~~~~~~~~~~~~~
'ExtratoComponent' is declared here.
src/app/app.component.html:1:1 - error NG8001: 'app-nova-transferencia' is not a known element:
1. If 'app-nova-transferencia' is an Angular component, then verify that it is part of this module.
2. If 'app-nova-transferencia' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
1 <app-nova-transferencia
~~~~~~~~~~~~~~~~~~~~~~~
2 (aoTransferir)="transferir($event)"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 ></app-nova-transferencia>
~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:5:16
5 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
src/app/app.component.html:5:1 - error NG8001: 'app-extrato' is not a known element:
1. If 'app-extrato' is an Angular component, then verify that it is part of this module.
2. If 'app-extrato' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
5 <app-extrato [transferencia]="transferencia"></app-extrato>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:5:16
5 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
src/app/app.component.html:5:14 - error NG8002: Can't bind to 'transferencia' since it isn't a known property of 'app-extrato'.
1. If 'app-extrato' is an Angular component and it has 'transferencia' input, then verify that it is part of this module.
2. If 'app-extrato' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.
5 <app-extrato [transferencia]="transferencia"></app-extrato>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:5:16
5 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.