Depois de aplicar o que foi mostrado na aula 1 / 5 onde é feito o cabeçalho, aparece a seguinte mensagem de erro no terminal:
osmar@Tag-Ubunto:~/memoteca$ ng serve
Initial Chunk Files | Names | Raw Size
polyfills.js | polyfills | 82.71 kB |
main.js | main | 23.70 kB |
styles.css | styles | 1.26 kB |
| Initial Total | 107.67 kB
Application bundle generation complete. [4.267 seconds]
Watch mode enabled. Watching for file changes...
➜ Local: http://localhost:4200/
✘ [ERROR] NG8001: 'app-cabecalho' is not a known element:
1. If 'app-cabecalho' is an Angular component, then verify that it is included in the '@Component.imports' of this component.
2. If 'app-cabecalho' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@Component.schemas' of this component to suppress this message. [plugin angular-compiler]
src/app/app.component.html:0:0:
0 │
╵ ^
Error occurs in the template of component AppComponent.
src/app/app.component.ts:9:15:
9 │ templateUrl: './app.component.html',
╵ ~~~~~~~~~~~~~~~~~~~~~~
Application bundle generation failed. [0.306 seconds]