Uncaught TypeError: Class extends value undefined is not a constructor or null
at node_modules/html-to-docx/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js (html-to-docx.js?v=acbe9afc:20527:69)
at require2 (chunk-AUZ3RYOM.js?v=acbe9afc:18:50)
at node_modules/html-to-docx/node_modules/xmlbuilder2/lib/builder/index.js (html-to-docx.js?v=acbe9afc:21134:30)
at require2 (chunk-AUZ3RYOM.js?v=acbe9afc:18:50)
at node_modules/html-to-docx/node_modules/xmlbuilder2/lib/index.js (html-to-docx.js?v=acbe9afc:21147:21)
at __require2 (chunk-AUZ3RYOM.js?v=acbe9afc:18:50)
at html-to-docx.js?v=acbe9afc:29030:34
is there a reason why im getting this error
const htmlContent = editor.blocksToHTMLLossy(editor.document); //gotten from blocknote editor
async function handleDownloadDocx() { const fileBuffer = await HTMLtoDOCX(htmlContent, { table: { row: { cantSplit: true } }, footer: true, pageNumber: true, });
}
Uncaught TypeError: Class extends value undefined is not a constructor or null at node_modules/html-to-docx/node_modules/xmlbuilder2/lib/builder/XMLBuilderCBImpl.js (html-to-docx.js?v=acbe9afc:20527:69) at require2 (chunk-AUZ3RYOM.js?v=acbe9afc:18:50) at node_modules/html-to-docx/node_modules/xmlbuilder2/lib/builder/index.js (html-to-docx.js?v=acbe9afc:21134:30) at require2 (chunk-AUZ3RYOM.js?v=acbe9afc:18:50) at node_modules/html-to-docx/node_modules/xmlbuilder2/lib/index.js (html-to-docx.js?v=acbe9afc:21147:21) at __require2 (chunk-AUZ3RYOM.js?v=acbe9afc:18:50) at html-to-docx.js?v=acbe9afc:29030:34