Getting error while using App module approach with standalone false

Discussão em 'Angular' iniciado por Nagesh_Adhe, Abril 6, 2025.

  1. Nagesh_Adhe

    Nagesh_Adhe Guest

    Getting errorComponent AppComponent is standalone, and cannot be declared in an NgModule. Did you mean to import it instead? [plugin angular-compiler]

    src/app/app.module.ts:9:4:
    9 │ AppComponent`


    Angular Version : 19.2.6

    I am trying to use angular 19 version, i wanted to develop large scale application, so i have choose appmodule approach, but now angular introduce standalone approach as well, I have done all the changes mentioned on chatgpt and web to disable standalone, but still getting error as metioned above`

    Continue reading...

Compartilhe esta Página