Skip to content

Failed to resolve module specifier "@angular/common/locales/global/en-IN". Relative references must start with either "/", "./", or "../". #1011

@IrfanShaik2010

Description

@IrfanShaik2010

For which library do you need help?

native-federation

Question

Environment

  • Native Federation: ^21.0.1
  • Angular: 20.3.8
  • Node: 22.20.0
  • Browser: Edge (latest)

I’m getting the following runtime error:

Failed to resolve module specifier "@angular/common/locales/global/en-IN". Relative references must start with either "/", "./", or "../".

I do not even have this import anywhere directly in my codebase, yet it is still causing runtime errors.

What I Tried

In federation.config.js, I attempted the following:

  1. Manually added it to the shared list — did not resolve the issue.
  2. Added it to the skip list — did not resolve the issue either.

At this point, neither sharing nor skipping the package seems to have any effect.

I earlier faced similar error with similar import, that import was in my code and I somehow managed to "fix it". There's also a mention of it in #995 . But with this thing, I'm stuck here.

Any help is really appreciated. Thanks in advance :)

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