You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Uncaught TypeError: DomHandler is not a constructor
var handler = new DomHandler();
^
at parseHtmlToTree (https://cdn.esm.sh/v48/html-to-react@1.4.5/deno/html-to-react.development.js:635:23)
at parseWithInstructions (https://cdn.esm.sh/v48/html-to-react@1.4.5/deno/html-to-react.development.js:675:23)
at Object.parse (https://cdn.esm.sh/v48/html-to-react@1.4.5/deno/html-to-react.development.js:684:16)
at file:///C:/projects/prv/esm-sh-bugs/test.ts:3:8
Failing module
Error message
After running
deno run
I get this:Additional info
Compiled version of html-to-react contains
import __domhandler$ from "/v48/domhandler@3.3.0/deno/domhandler.development.js";
but
domhandler
has custom default export https://github.com/fb55/domhandler/blob/master/src/index.ts#L238The text was updated successfully, but these errors were encountered: