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

TypeError: showHelp is not a function #20

Open
steve-taylor opened this issue Apr 4, 2024 · 0 comments
Open

TypeError: showHelp is not a function #20

steve-taylor opened this issue Apr 4, 2024 · 0 comments

Comments

@steve-taylor
Copy link

file:///usr/local/lib/node_modules/xunit-viewer/xunit-viewer.js:18
    showHelp()
    ^

TypeError: showHelp is not a function
    at default (file:///usr/local/lib/node_modules/xunit-viewer/xunit-viewer.js:18:5)
    at file:///usr/local/lib/node_modules/xunit-viewer/bin/xunit-viewer.js:6:1
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
    at async loadESM (node:internal/process/esm_loader:28:7)
    at async handleMainPromise (node:internal/modules/run_main:[11](https://github.com/fsa-streamotion/streamotion-web-flash-widgets/actions/runs/8556635480/job/23446947863?pr=623#step:19:12)3:12)

This is caused by xunit-viewer's incorrect usage of a dynamic import, trying to destructure the promise itself instead of the module it resolves. This has been broken in xunit-viewer since version 8.0.0, which was released 9 months ago.

I created a pull request to fix xunit-viewer.

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

No branches or pull requests

1 participant