vue-echarts
vue-echarts copied to clipboard
Weird exception during debugging using VS Code
- [X] I can confirm this problem is not reproducible with ECharts itself.
How are you introducing Vue-ECharts into your project?
ES Module imports
Versions
product-page
├── [email protected]
├─┬ [email protected]
│ ├── [email protected] deduped
│ ├─┬ [email protected]
│ │ └── [email protected] deduped
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]
Details
After installing the package to the app, I try running debugger inside VS Code and receive this exception during opening the demo app.
Exception has occurred: TypeError: Cannot read properties of undefined (reading 'get')
at collectAxesInfo (http://localhost:3000/node_modules/.vite/chunk-DZMIG7ND.js?v=969ae8a0:1385:44)
at collect (http://localhost:3000/node_modules/.vite/chunk-DZMIG7ND.js?v=969ae8a0:1378:3)
at http://localhost:3000/node_modules/.vite/echarts_components.js?t=1632020037330&v=969ae8a0:1204:60
at detectSeriseType (http://localhost:3000/node_modules/.vite/chunk-2C43KJ7Q.js?v=969ae8a0:13882:5)
at Function.Scheduler2.wrapStageHandler (http://localhost:3000/node_modules/.vite/chunk-2C43KJ7Q.js?v=969ae8a0:13827:21)
at normalizeRegister (http://localhost:3000/node_modules/.vite/chunk-2C43KJ7Q.js?v=969ae8a0:17532:40)
at Object.registerProcessor (http://localhost:3000/node_modules/.vite/chunk-2C43KJ7Q.js?v=969ae8a0:17466:3)
at Object.install5 [as install] (http://localhost:3000/node_modules/.vite/echarts_components.js?t=1632020037330&v=969ae8a0:1203:13)
at use (http://localhost:3000/node_modules/.vite/chunk-2C43KJ7Q.js?v=969ae8a0:18697:7)
at Object.install13 [as install] (http://localhost:3000/node_modules/.vite/echarts_components.js?t=1632020037330&v=969ae8a0:7085:3)
The app runs just fine without any error if I turn off the debugger.
Reproduction
https://gist.github.com/tikikun/aff0ca295baacce92d084de1bfbaf03d