Skip to content

Native federation with Angular 20 Error: NG0203: inject() must be called from an injection #946

@AmmarAhmed

Description

@AmmarAhmed

For which library do you have a feature request?

native-federation

Information

I have a problem with angular 20 and native federation 20.1.6 to integrate mfe ont my shell application . I tried the solution with "sed" to change builder.js but she dont work for me !
My MFE is on angular 20.2.2 and my Host on 20.3.0 i get this error

Image

If someone have any idea, please share with me ! Thanks .

Describe any alternatives/workarounds you're currently using

No response

I would be willing to submit a PR to fix this issue

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions