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

Accessing non-existent property 'then' of module exports inside circular dependency #2095

Open
shunguoy opened this issue Nov 13, 2024 · 0 comments
Labels
node-accessibility-checker Issues in the accessibility-checker component

Comments

@shunguoy
Copy link
Contributor

this only happens with a large page, and if some of the items are removed from the page, it works just fine.
The key issue is following:
Warning: Accessing non-existent property 'then' of module exports inside circular dependency
at emitCircularRequireWarning (node:internal/modules/cjs/loader:834:11)
at Object.get (node:internal/modules/cjs/loader:850:5)
at
at step (git/equal-access/accessibility-checker/src/lib/common/config/ACConfigManager.js:7:47)

seems there are circular dependencies among modules, and a promise-like object is used before it's fully initialized. but don't know exactly which one.

test case: sitemap.html https://ibm-studios.slack.com/archives/C036P1CTN/p1729101710918499

@shunguoy shunguoy added the node-accessibility-checker Issues in the accessibility-checker component label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node-accessibility-checker Issues in the accessibility-checker component
Projects
None yet
Development

No branches or pull requests

1 participant