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

Error thrown from xmlbuilder2 #57

Open
privateOmega opened this issue Oct 3, 2020 · 2 comments
Open

Error thrown from xmlbuilder2 #57

privateOmega opened this issue Oct 3, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@privateOmega
Copy link

Describe the bug
I have created a package html-to-docx. The package's main dependency is xmlbuilder2, but one of its users reported an issue while trying to use it on frontend(react).

Additional context
Issue mentioned in the project repo.

@privateOmega privateOmega added the bug Something isn't working label Oct 3, 2020
@oozcitak
Copy link
Owner

oozcitak commented Oct 3, 2020

Can you please make a test case to reproduce this?

@privateOmega
Copy link
Author

privateOmega commented Oct 6, 2020

@oozcitak Crossposting the issue reported on html-to-docx repo.


When tried to use it in the browser in my React application, I get the following error

Uncaught (in promise) TypeError: Cannot call a class as a function
    at e.exports (classCallCheck.js:3)
    at new r (NodeImpl.ts:93)
    at r.<anonymous> (createSuper.js:14)
    at new r (DocumentImpl.ts:69)
    at Object.t.create_document (CreateAlgorithm.ts:61)
    at new r (WindowImpl.ts:28)
    at Function.value (WindowImpl.ts:41)
    at Object.t.create_window (CreateAlgorithm.ts:47)
    at e.get (DOMImpl.ts:68)
    at new e (DOMImplementationImpl.ts:27)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants