Highcharts error #16 is due to duplicate Highcharts definitions. The reason for this error is that the namespace of Highcharts is duplicated.
The namespace of Highcharts actually exists in the Highcharts.js file that we refer to when we use Highcharts.
Solution
Remove the Highcharts.js from the nested subpages and leave only the reference to the main page, and the error will not be reported.
Conclusion
Referencing Highcharts.js on the main page and referencing Highcharts.js on the sub-page nested in it will cause duplicate Highcharts definitions whenever the sub-page is loaded.
Read More:
- runtime-core.esm-bundler.js5c406620 [Vue warn] Unhandled error during execution of native event h
- The reason why jQuery files report errors is introduced
- Nuxt integrate with qiankun as the main application Error: SKIP_BECAUSE_BROKEN
- [Solved] Echarts Error: Uncaught (in promise) Error: Initialize failed: invalid dom.
- [Solved] Vue-router Error: Navigation cancelled from “/course“ to “/user“ with a new navigation.
- How to Block a frame with origin from accessing a cross origin frame
- Error in created hook: “SyntaxError: Unexpected token u in JSON at position 0
- [Solved] Vue3 Error: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. P
- [Solved] uni app TypeError: undefined is not an object (evaluating ‘modules[moduleId].call‘) __ERROR
- [Solved] Uni.createintersectionobserver Error: Uncaught TypeError: Cannot read property ‘bottom’ of null
- Vue refreshes the current page (no flash screen will appear)
- [Solved] Uncaught SyntaxError: Cannot use import statement outside a module
- [Solved] Vue Error: template or render function not defined
- Vant Applet: The Usage of Vant-dialog in Before-close
- [Solved] Node sass version 7.0.0 is incompatible with ^ 4.0.0 | ^ 5.0.0 | ^ 6.0.0
- Jest Vue $route error [How to Modify]
- [Solved] Yapi Secondary deploy error: xxx validation failed: mock: Path `xxx` is required
- VUE Error: Vue Error in nextTick: “RangeError: Maximum call stack size exceeded“
- [Solved] Vue Error: Error in nextTick: “RangeError: Maximum call stack size exceeded“
- [Solved] vue-roter 4 Error: Error: Invalid route component/Uncaught (in promise) Error: Invalid route component