NG0912 Angular Component ID generation collision broken

Discussão em 'Angular' iniciado por Judah Boyce, Janeiro 23, 2025.

  1. Judah Boyce

    Judah Boyce Guest

    When reloading my pages for my angular project I get this error:

    NG0912: Component ID generation collision detected. Components '_AppComponent' and
    '_AppComponent' with selector 'app-root' generated the same component ID. To fix
    this, you can change the selector of one of those components or add an extra host
    attribute to force a different ID. Find more at https://angular.dev/errors/NG0912


    This happens for 5 other components of mine.

    I don't have repeat components for any of them and only use them once in their respective components. Furthermore the project builds completely fine and doesn't run any errors.

    I have tried changing the name or selector of the components however the issue persists.

    What can I do to fix this?

    Continue reading...

Compartilhe esta Página