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 - non-existing circular dependency detected (!)

Discussão em 'Angular' iniciado por arti040, Setembro 15, 2025.

  1. arti040

    arti040 Guest

    I'm getting the message in console:

    Circular dependency detected for MyService. Source: Environment

    ...however, that service is being injected in only one component, and obviously - that component isn't injected in service. Also, mange tool I use regulary does not find this error in code.

    This message is listed in console few times, but stack-trace says nothing. Any ideas?

    Angular version: 20.x, Vite

    [​IMG]

    Continue reading...

Compartilhe esta Página