Skip to content

Build on Windows misses non-local dependencies (Angular, Transloco, rxjs, etc.) #1015

@dr460nf1r3

Description

@dr460nf1r3

With what library do you have an issue?

native-federation

Reproduction of the bug/regression with instructions

Project compiles in dev, but resources (Angular runtime files) are not found in output path:

_angular_core.3BAS5TyK1I-dev.js
_angular_common_http.ogSLhn6tvr-dev.js
_angular_platform_browser.mLLTQda_rL-dev.js
rxjs.rmXGwBOWJw-dev.js
_angular_router.UZmcS-Y4nw-dev.js
_angular_forms.yQYGBTZEtr-dev.js
_jsverse_transloco.7C4A4GuId2-dev.js
_angular_common.jGwHB92e_e-dev.js
_angular_platform_browser_animations.3h5FyXXc_x-dev.js
_angular_core_rxjs_interop.BTs2lG70F7-dev.js
rxjs_operators.cFlri_JMZ9-dev.j

This only concerns “external” dependencies, local projects (Nx mono-repo) are found and processed.
This is on @angular-architects/native-federation 21.0.1, a downgrade to 20.1.7 works. The same problem does not occur on macOS, nor when building the project in CI (Alpine containers).

Expected behavior

Runtime files are compiled to dist folders.

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

Angular version

@angular-devkit/architect       0.2003.8
@angular-devkit/build-angular   20.3.8
@angular-devkit/core            20.3.8
@angular-devkit/schematics      20.3.8
@angular/cdk                    20.2.11
@angular/cli                    20.3.8
@schematics/angular             20.3.8
rxjs                            7.8.2
typescript                      5.9.3
zone.js                         0.15.1

Node version

v24.11.1

System

Windows 11 Pro
Version 10.0.26100 Build 26100

Other information

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