Build at: 2021-05-18T02:27:04.342Z - Hash: 96bdf2b1efee415730e6 - Time: 1912ms
./src/app/app.module.ts:5:0-55 - Error: Module not found: Error: Can't resolve '@angula/common/http' in 'C:\xampp2\htdocs\alura\aula_angular\alurapic\src\app'
Error: src/app/app.component.html:1:1 - error NG8001: 'ap-photo' is not a known element:
1. If 'ap-photo' is an Angular component, then verify that it is part of this module.
2. If 'ap-photo' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
1 <ap-photo
~~~~~~~~~
2 *ngFor="let photo of photos"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 [url]="photo.url"
~~~~~~~~~~~~~~~~~~~
4 [description]="photo.description">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:7:16
7 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
Error: src/app/app.component.html:3:3 - error NG8002: Can't bind to 'url' since it isn't a known property of 'ap-photo'.
1. If 'ap-photo' is an Angular component and it has 'url' input, then verify that it is part of this module.
2. If 'ap-photo' 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.
3 [url]="photo.url"
~~~~~~~~~~~~~~~~~
src/app/app.component.ts:7:16
7 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
Error: src/app/app.component.html:4:3 - error NG8002: Can't bind to 'description' since it isn't a known property of 'ap-photo'.
1. If 'ap-photo' is an Angular component and it has 'description' input, then verify that it is part of this module.
2. If 'ap-photo' 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.
4 [description]="photo.description">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:7:16
7 templateUrl: './app.component.html',
~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AppComponent.
Error: src/app/app.module.ts:4:34 - error TS2307: Cannot find module '@angula/common/http' or its corresponding type declarations.
4 import { HttpClientModule } from '@angula/common/http';
~~~~~~~~~~~~~~~~~~~~~
Error: src/app/app.module.ts:14:12 - error NG1010: Value at position 2 in the NgModule.imports of AppModule is not a reference
Value could not be determined statically.
14 imports: [
~
15 BrowserModule,
~~~~~~~~~~~~~~~~~~
...
17 HttpClientModule
~~~~~~~~~~~~~~~~~~~~
18 ],
~~~
src/app/app.module.ts:17:5
17 HttpClientModule
~~~~~~~~~~~~~~~~
Unknown reference.
Atualmente estou na aula 3 - atividade7. Estou tentando consumidor dos dados da API. Informando ainda que estou trabalhando na versão 14.16.1, pois o node não estava permitindo trabalhar na versão indicada pelo curso. Como devo proceder para continuar o curso?