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.

Circular dependency warnings

See original GitHub issue

Getting some Webpack circular dependency warnings after a version upgrade from v2 to v4.

WARNING in Circular dependency detected:
node_modules/react-universal-component/dist/helpers.js -> node_modules/react-universal-component/dist/index.js -> node_modules/react-universal-component/dist/helpers.js

WARNING in Circular dependency detected:
node_modules/react-universal-component/dist/index.js -> node_modules/react-universal-component/dist/helpers.js -> node_modules/react-universal-component/dist/index.js

WARNING in Circular dependency detected:
node_modules/react-universal-component/dist/requireById/index.js -> node_modules/react-universal-component/dist/utils.js -> node_modules/react-universal-component/dist/requireById/index.js

WARNING in Circular dependency detected:
node_modules/react-universal-component/dist/utils.js -> node_modules/react-universal-component/dist/requireById/index.js -> node_modules/react-universal-component/dist/utils.js

Any plans for resolving these?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ScriptedAlchemycommented, Nov 1, 2020

Won’t deprecate till I have the chunk mechanics done. That said I no longer have time for this. If people want to PR, I’ll merge things.

Will put a notice on When I have time

0reactions
ithinkdancancommented, Nov 1, 2020

@ScriptedAlchemy do you have any good resources you could point to on how to do ssr code splitting on webpack 5. Would you still rely on federation even for a single repo?

Read more comments on GitHub >

github_iconTop Results From Across the Web

WARNING in Circular dependency detected - Angular Cli
I'd like to add to this conversation that if you have circular dependency warnings and it isnt caused by imports ...
Read more >
NG0200: Circular dependency in DI detected while ... - Angular
Break this loop (or circle) of dependency to resolve this error. This most commonly means removing or refactoring the dependencies to not be...
Read more >
“Circular dependency detected” in Angular 11, how to solve it?
In this scenario to avoid circular dependency, we can not use SharedService's injected object in LoginDialogComponent. LoginDialogComponent's ...
Read more >
Circular dependency warnings in angular - DEV Community ‍ ‍
In most cases, circular dependencies are code smells for design that could be made clearer. Most likely you have a service that's gotten...
Read more >
What is circular dependency in angular? - JanBask Training
Circular dependency occurs when service A injects service B, but service B in turn injects service A, usually indirectly.
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