Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do i resolve this circular dependency issue. #256

Closed
orar opened this issue Oct 28, 2018 · 3 comments
Closed

How do i resolve this circular dependency issue. #256

orar opened this issue Oct 28, 2018 · 3 comments

Comments

@orar
Copy link

orar commented Oct 28, 2018

This circular dependency breaks my bundle anytime and i have no idea about it

(!) Circular dependency: node_modules/htmlparser2/lib/index.js -> node_modules/htmlparser2/lib/FeedHandler.js -> node_modules/htmlparser2/lib/index.js
(!) Circular dependency: node_modules/htmlparser2/lib/index.js -> node_modules/htmlparser2/lib/FeedHandler.js -> commonjs-proxy:/home/orar/workspace/npmlab/questrar/node_modules/htmlparser2/lib/index.js -> node_modules/htmlparser2/lib/index.js
(!) Circular dependency: node_modules/htmlparser2/lib/index.js -> node_modules/htmlparser2/lib/Stream.js -> node_modules/htmlparser2/lib/index.js
(!) Circular dependency: node_modules/htmlparser2/lib/index.js -> node_modules/htmlparser2/lib/ProxyHandler.js -> node_modules/htmlparser2/lib/index.js
(!) Circular dependency: node_modules/htmlparser2/lib/index.js -> node_modules/htmlparser2/lib/CollectingHandler.js -> node_modules/htmlparser2/lib/index.js

And i get the follow error when i run my bundle

 var DomHandler$1 = lib.DomHandler;
                               ^
TypeError: Cannot read property 'DomHandler' of undefined
@GreenGremlin
Copy link
Contributor

GreenGremlin commented Jan 30, 2019

I believe this is a duplicate of #223, which has been fixed but not released, yet.

@fniewijk
Copy link

fniewijk commented Feb 8, 2019

When is this going to be released?

@fb55
Copy link
Owner

fb55 commented Feb 17, 2019

It has been released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants