mind-map
mind-map copied to clipboard
TypeError: Cannot read properties of undefined (reading 'prototype') at sax.js:222:46
TypeError: Cannot read properties of undefined (reading 'prototype') at sax.js:222:46 at node_modules/.pnpm/[email protected]/node_modules/sax/lib/sax.js (sax.js:1565:1) at __require2 (chunk-AUZ3RYOM.js?v=71ca0ce9:18:50) at node_modules/.pnpm/[email protected]/node_modules/xml-js/lib/xml2js.js (xml2js.js:1:11) at __require2 (chunk-AUZ3RYOM.js?v=71ca0ce9:18:50) at node_modules/.pnpm/[email protected]/node_modules/xml-js/lib/index.js (index.js:3:14) at __require2 (chunk-AUZ3RYOM.js?v=71ca0ce9:18:50) at xmind.js:2:24
注释掉simple-mind-map组件,页面就能正常加载
https://github.com/Leonidas-from-XIV/node-xml2js/issues/651
可以参考这个解决