Uncaught typeerror: class constructor d cannot be invoked without 'new'怎么解决

chart=Highcharts.stockChart('kLineChart', {
				rangeSelector: {
					selected: 1
				},
				title: {
					text: 'K-line Chart'
				},
				yAxis: [{
					labels: {
						align: 'right',
						x: -3
					},
					title: {
						text: 'OHLC'
					},
					height: '60%',
					lineWidth: 2,
					resize: {
						enabled: true
					}
				}, {
					labels: {
						align: 'right',
						x: -3
					},
					title: {
						text: 'Volume'
					},
					top: '65%',
					height: '35%',
					offset: 0,
					lineWidth: 2
				}],
				tooltip: {
					split: true
				},
				series: [{
					type: 'candlestick',
					name: 'Rates',
					id: 'main',
					data: ohlc,
				}, {
					type: 'line',
					name: 'Volume',
					data: volume,
					yAxis: 1,
				}]
			});

这是我渲染K线的代码,但是当我试图使用sma指标时,浏览器报错:uncaught typeerror: class constructor d cannot be invoked without ‘new’,请问这个应该怎么解决