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
Describe the bug
Not able to import anything from "docx-preview", it gives error "This dependency was not found: docx-preview".
I tried to add "main": "./dist/docx-preview.js" line in package.json inside node_module then it gives below error,
Module parse failed: Unexpected token (99:58)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }
| function hasXmlParserError(doc) {
> return doc.getElementsByTagName("parsererror")[0]?.textContent;
| }
| function removeUTF8BOM(data) {
The text was updated successfully, but these errors were encountered:
Describe the bug
Not able to import anything from "docx-preview", it gives error "This dependency was not found: docx-preview".
I tried to add "main": "./dist/docx-preview.js" line in package.json inside node_module then it gives below error,
The text was updated successfully, but these errors were encountered: