Skip to content

Angular 21 with native federation crash #1024

@kukjevov

Description

@kukjevov

With what library do you have an issue?

native-federation

Reproduction of the bug/regression with instructions

When i am trying to use native federation with angular cli ng serve crashes (not all the time) and exits with code -1073740940 (Process exited with code 3221226356)

Reproduction steps

git clone https://github.com/kukjevov/native-federation-bug.git
cd native-federation-bug
npm install
npm start or cd main && npx ng serve

Or there are already profiles for vscode for debugging Launch Ng Serve or Launch Lerna Start

Expected behavior

This should work

Versions of Native/Module Federation, Angular, Node, Browser, and operating system

Native Federation: 21.0.3
Angular: 21.0.5
Angular CLI: 21.0.3
Node: 24.12.0
NPM: 11.6.2
Browser: not important (build fails, if build succeed app works)
Operation System: Windows 11

Other information

No response

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

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions