question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module Federation deps strictVersion mismatch source in error message

See original GitHub issue

Feature request

What is the expected behavior? getStrictSingletonVersion throws more detailed error. Also will be great get all errors at once (not one per step)

This dramatically decrease spent time on module federation integration process.

What is motivation or use case for adding/changing the behavior? Adding module federation to huge porject i’m facing following problem: I’m unable do determine package, which declare mismatched strict version dependency, because only clue i’ve get is

Unsatisfied version 11.0.3 of shared singleton module @angular/core (required ^10.0.0)

Digging deeper i’ve found this (but it still don’t help me): image There are is a lot of older angular dependencies version, but - i can’t determine which package bring them there.

How should this be implemented in your opinion?

This:

Unsatisfied version 11.0.3 of shared singleton module @angular/core (required ^10.0.0)

Will be good to expanded to this:

Unsatisfied versions detected:
@angular/core (current 11.0.3)
   10.0.0 (by @ngrx/core)
   6.0.3 (by ngx-quicklinks)

Are you willing to work on this yourself? I’m not sure i can handle it, but i can try, if you give me few design clues.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:21
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
snitin315commented, Apr 13, 2021

Пожалуйста, используйте английский в будущем

2reactions
alexander-akaitcommented, Apr 13, 2021

You can comment and change code:

// import { Controls, NgxAutomaticRootFormComponent } from 'ngx-sub-form';

and all works fine

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting Out of Version-Mismatch-Hell with Module Federation
If a remote needs an incompatible version, it falls back to such one by default.
Read more >
Webpack Module Federation Unsatisfied version 11.x.x of ...
I fixed that by rerunning yarn and fixing all the warnings produced by libraries depending on a different angular/core version. But with the ......
Read more >
Micro Frontends with Angular, Module Federation, and Auth0
Module Federation allows loading Micro Frontends at runtime. Common dependencies like Angular or the Auth0 library can be shared and hence ...
Read more >
Angular dynamic modules at runtime with Module Federation
Micro frontends and more importantly module federation, allows developers the flexibility of remotely requesting a module on the network and ...
Read more >
Fixing Module Federation Versioning - YouTube
Module Federation has made runtime sharing a snap BUT we are still figuring out versioning. Thankfully Jacob Ebey has a pattern for not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found