Error in mounted hook: “TypeError: Cannot read property ‘init’ of undefined”
let myChart = this.$echarts.init(document.getElementById('radar1'))
Error reason: ecarts version is too high, after unloading. Install lower version:
cnpm install [email protected] -S
However, it is found that there are still errors:
Error: ENOENT: no such file or directory, open
terms of settlement:
Restart the service. Recompile!
Read More:
- Error in created hook: “typeerror: cannot read property ‘cm’ of undefined”
- In Vue, use echorts to report an error: “typeerror: cannot read property ‘init’ of undefined” error reporting reason and solution
- TypeError: Cannot read property ‘username‘ of undefined
- Vue error in mounted hook: “typeerror: object (…) is not a function“
- TypeError: Cannot read property thisCompilation of undefined
- Vue error in render: “typeerror: cannot read property ‘name’ of undefined”
- [Solved] Syntax Error: TypeError: Cannot read property ‘parseComponent‘ of undefined
- Datatable plug-in error: uncaught typeerror: cannot read property ‘style’ of undefined
- Vue error resolution: TypeError: Cannot read property’_t’ of undefined”
- Vue error resolution: typeerror: cannot read property ‘_ t’ of undefined”
- Using pop-up window and I18N, error in render: “typeerror: cannot read property” appears_ T ‘of undefined’ solution
- About iView reporting error in Vue project: error in mounted hook: “typeerror: this$ parent.updateNav is not a function”
- [Solved] Vue Error: TypeError: Cannot read property ‘end‘ of undefined
- [Vue warn]: Error in nextTick: “TypeError: Cannot read property ‘map‘ of null“
- Cannot read property ‘this compilation’ of undefined appears in copy webpack plugin
- Vue: cannot read property ‘substring’ of undefined“
- Cannot read property ‘substring’ of undefined in Vue
- Cannot read property ‘properties’ of undefined
- [Vue warn]: Error in render: “TypeError: Cannot read properties of undefined
- Uncaught type error: cannot read property ‘MSIE’ of undefined