λ ng build --prod
Option "--prod" is deprecated: No need to use this option as this builder defaults to configuration "production".
√ Browser application bundle generation complete.
./src/main.ts:2:0-18 - Error: Module not found: Error: Can't resolve 'hammerjs' in 'C:\Users\Zare6363\Documents\Perso\Projet\EasyPHP-Devserver-17_Win8_V1\eds-www\touslesport\Projet-V5.2\angular\src'
Error: src/app/app.module.ts:12:35 - error TS2307: Cannot find module 'services/api.sorties.service' or its corresponding type declarations.
12 import { ApiSortiesService } from 'services/api.sorties.service';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: src/app/app.module.ts:33:36 - error TS2304: Cannot find name 'ButtonToggleMatComponent'.
33 const el = createCustomElement(ButtonToggleMatComponent, {injector : this.injector});
~~~~~~~~~~~~~~~~~~~~~~~~
Error: src/app/navbar/navbar.component.html:16:43 - error NG8002: Can't bind to 'routerLink' since it isn't a known property of 'a'.
16 <a class="nav-item nav-link active" [routerLink]="['/sorties']" routerLinkActive="router-link-active" >Sorties<span class="sr-only">(current)</span></a>
~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/navbar/navbar.component.ts:5:16
5 templateUrl: './navbar.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component NavbarComponent.
Error: src/app/navbar/navbar.component.html:17:36 - error NG8002: Can't bind to 'routerLink' since it isn't a known property of 'a'.
17 <a class="nav-item nav-link" [routerLink]="['/sortiestriables']" routerLinkActive="router-link-active">Sorties triables</a>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/navbar/navbar.component.ts:5:16
5 templateUrl: './navbar.component.html',
~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component NavbarComponent.
Error: src/app/sorties/sorties.component.ts:2:35 - error TS2307: Cannot find module '../../../services/api.sorties.service' or its corresponding type declarations.
2 import { ApiSortiesService } from '../../../services/api.sorties.service';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: src/app/sorties/sorties.component.ts:3:24 - error TS2307: Cannot find module 'policies/Sortie' or its corresponding type declarations.
3 import { Sortie } from 'policies/Sortie';
~~~~~~~~~~~~~~~~~
Error: src/app/sorties/sorties.component.ts:11:3 - error TS2564: Property 'sorties' has no initializer and is not definitely assigned in the constructor.
11 sorties: Sortie[];
~~~~~~~
Error: src/app/sorties/sorties.component.ts:14:23 - error NG2003: No suitable injection token for parameter 'apiSortiesService' of class 'SortiesComponent'.
Consider using the @Inject decorator to specify an injection token.
14 constructor(private apiSortiesService: ApiSortiesService) { }
~~~~~~~~~~~~~~~~~
src/app/sorties/sorties.component.ts:14:42
14 constructor(private apiSortiesService: ApiSortiesService) { }
~~~~~~~~~~~~~~~~~
This type does not have a value, so it cannot be used as injection token.
Partager