Closed proc07 closed 4 years ago
TypeError: Class constructor WebpackError cannot be invoked without 'new'。
该库不需要使用 new 来创建,应该如何解决呢。
// https://github.com/ecomfe/echarts-for-weixin/blob/master/pages/bar/index.js chart = echarts.init(canvas, null, { width: width, height: height });
已解决,npm bug。命令: npm update 解决
TypeError: Class constructor WebpackError cannot be invoked without 'new'。
该库不需要使用 new 来创建,应该如何解决呢。