What does "NG8113: Home is not used within the template of App" mean

Discussão em 'Angular' iniciado por Damon Heinz, Novembro 29, 2025.

  1. Damon Heinz

    Damon Heinz Guest

    I was doing the tutorial from https://angular.dev/tutorials/first-app/11-details-page. I got the error message below:


    NG8113: Home is not used within the template of App [plugin angular-compiler]

    src/app/app.ts:6:12:
    6 │ imports: [Home, RouterLink, RouterOutlet],

    I also got the error message:

    TS2339: Property 'photo' does not exist on type 'InputSignal<HousingLocationInfo>'. [plugin angular-compiler]

    src/app/housing-location/housing-location.ts:11:31:
    11 │ [src]="housingLocation.photo"

    What did I do wrong to generate these messages? The NG8113 message is considered a warning by the compiler, but I brought it up because it might be responsible for the other message.

    Continue reading...

Compartilhe esta Página