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
Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
at sax.js:222:46
at node_modules/sax/lib/sax.js (sax.js:1565:1)
at __require (chunk-UNANNA3Z.js?v=1c06db08:38:50)
at Object. (parser.js:9:9)
at node_modules/xml2js/lib/parser.js (parser.js:381:4)
at __require (chunk-UNANNA3Z.js?v=1c06db08:38:50)
at Object. (xml2js.js:12:12)
at node_modules/xml2js/lib/xml2js.js (xml2js.js:39:4)
at __require (chunk-UNANNA3Z.js?v=1c06db08:38:50)
at dep:xml2js:1:16
SAXStream.prototype = Object.create(Stream.prototype, { // Stream seems to be undefined
constructor: {
value: SAXStream
}
})
The text was updated successfully, but these errors were encountered:
Hi I faced the same issue, if you are using vite, please take a look at vitejs/vite#7555
what worked for me was to add resolve: { alias: { stream: "stream-browserify" } }
inside the defineConfig of your vite.config.ts
Getting this with version 0.4.23:
Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')
at sax.js:222:46
at node_modules/sax/lib/sax.js (sax.js:1565:1)
at __require (chunk-UNANNA3Z.js?v=1c06db08:38:50)
at Object. (parser.js:9:9)
at node_modules/xml2js/lib/parser.js (parser.js:381:4)
at __require (chunk-UNANNA3Z.js?v=1c06db08:38:50)
at Object. (xml2js.js:12:12)
at node_modules/xml2js/lib/xml2js.js (xml2js.js:39:4)
at __require (chunk-UNANNA3Z.js?v=1c06db08:38:50)
at dep:xml2js:1:16
SAXStream.prototype = Object.create(Stream.prototype, { // Stream seems to be undefined
constructor: {
value: SAXStream
}
})
The text was updated successfully, but these errors were encountered: