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
sax.js:221 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
at sax.js:221:46
at node_modules/sax/lib/sax.js (sax.js:1574:1)
at __require2 (chunk-OROXOI2D.js?v=fa264171:16:50)
at node_modules/mammoth/lib/xml/reader.js (reader.js:2:11)
at __require2 (chunk-OROXOI2D.js?v=fa264171:16:50)
at node_modules/mammoth/lib/xml/index.js (index.js:6:22)
at __require2 (chunk-OROXOI2D.js?v=fa264171:16:50)
at node_modules/mammoth/lib/docx/office-xml-reader.js (office-xml-reader.js:4:11)
at __require2 (chunk-OROXOI2D.js?v=fa264171:16:50)
at node_modules/mammoth/lib/docx/docx-reader.js (docx-reader.js:11:26)
at __require2 (chunk-OROXOI2D.js?v=fa264171:16:50)
at node_modules/mammoth/lib/index.js (index.js:3:18)
at __require2 (chunk-OROXOI2D.js?v=fa264171:16:50)
at dep:mammoth:1:16
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Describe the bug
import mammoth from "mammoth" 报错
Reproduction
https://github.com/dazuo-art/viteAndMammoth/tree/master
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: