1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Angular: Cannot find module that is never referenced

Discussão em 'Angular' iniciado por Jordi Samson, Junho 10, 2025.

  1. Jordi Samson

    Jordi Samson Guest

    When I want to start my angular applciaiton I get the following excpetion:

    TS2307: Cannot find module '@angular/material/paginator.d-BpWCCOIR' or its corresponding type declarations. [plugin angular-compiler]

    The strange part is that in the whole application the paginator module is not used. I get the exception from an npm package that I use in other applications. In those applciation there is no problem.

    I am working with Angular version 19.

    What I tried to solve the problem:

    • Command 'npm ci'
    • Remove the Node_module folder
    • Cleared the angular cache
    • Tried to uninstaal the package and reinstall it.

    Continue reading...

Compartilhe esta Página