Angular micro-frontend with native-federation Error NG0203

Discussão em 'Angular' iniciado por L. Kvri, Abril 30, 2025.

  1. L. Kvri

    L. Kvri Guest

    I have a deployed micro-frontend app with native-federation.

    When I navigate via menu item to remote app I always faced with the following error:

    Error: NG0203 inject() must be called from an injection context.

    The app URL: https://lkovari.github.io/mf-with-native-federation

    One of the navigation URL: https://lkovari.github.io/mf-with-native-federation/mf-a/

    Each deployed app works, but when I try to navigate via menu it emit an error.

    The mentioned error is comes when the inject called from not an injection context.

    Continue reading...

Compartilhe esta Página