-
-
Notifications
You must be signed in to change notification settings - Fork 696
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
html-formatter: report fails to execute in browser with circular dependency issue #1279
Comments
Per this issue seems like a possible circular dependency issue. Not sure why it doesn't cause webpack to fail at build time though? Added circular-dependency-plugin to the webpack config for html-formatter, and:
I can see how those imports in messages look circular but they have been that way forever, so I think protobuf is the more likely culprit. More evidence: protobufjs/protobuf.js#1402 Update: it may be protobuf but it's also our messages code too. Starting to suspect webpack 4 -> 5 has exposed this. |
Fixing our circular deps internally was enough to make webpack 5 work, so this can close now. |
Summary
What looks like a circular dependency in the JavaScript bundle for the HTML formatter is causing it to fail to render in browsers, resulting in a blank page.
Current Behavior
Chrome:
Firefox:
Possible Solution
TBC
Steps to Reproduce (for bugs)
git checkout master
cd html-formatter/javascript
make
open acceptance/minimal/minimal.html
Context & Motivation
See cucumber/cucumber-js#1510
The text was updated successfully, but these errors were encountered: