Old thread, but stumbled upon this when having a similar problem, hoping someone in the future may see this aswell:
I just had the error:
Error: Renderer 'undefined' is not imported. Please import it first.
The Problem at the end was, that i was using
import * as echarts from 'echarts';
but also
import { EChartsOption, SeriesOption } from 'echarts';
The second line was throwing everything off. So use the "namespace" echarts and dont import anything other than * as echarts.