[Solved] Echarts Error: Cannot read property ‘init‘ of undefined

Solution:
you need to add * as when importing the package:

import * as echarts from 'echarts';

Type


Read More: