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: HtmlFile is not a constructor #17

Open
yrad opened this issue Oct 4, 2024 · 0 comments
Open

TypeError: HtmlFile is not a constructor #17

yrad opened this issue Oct 4, 2024 · 0 comments

Comments

@yrad
Copy link

yrad commented Oct 4, 2024

When pointed at a directory e.g.

rocxl working_copy\files -r

I'm running into an issue with the error

Generating html from: working_copy\files\ro-crate-metadata.json
[...]\Scripts\node_modules\ro-crate-excel\rocxl:161
const f = new HtmlFile(preview);
^

TypeError: HtmlFile is not a constructor
at generateHTML ([...]\Scripts\node_modules\ro-crate-excel\rocxl:161:17)
at async main ([...]\Scripts\node_modules\ro-crate-excel\rocxl:90:7)

Node.js v22.7.0

I'm guessing it's a quirk in the environment I'm running but thought to appeal for some troubleshooting advice if you have it!

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

1 participant