SuperMap / iClient-JavaScript

Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community.
https://iclient.supermap.io
Apache License 2.0
826 stars 281 forks source link

report a bug:"export 'default' (imported as 'echarts') was not found in 'echarts' #294

Open liugx2018 opened 2 years ago

liugx2018 commented 2 years ago

warning in ./node_modules/@supermap/iclient-common/components/chart/ChartView.js

"export 'default' (imported as 'echarts') was not found in 'echarts'

aboutUU commented 2 years ago

我也有相同的问题,貌似是echarts的版本太高了。期望能够兼容

songyumeng commented 2 years ago

谢谢您报的issue,可否提供下步骤及版本信息呢。

aboutUU commented 2 years ago

我们当前用的echarts版本是5.2.0,当我把echarts版本降到4.x时就没这个问题了。您可以试一下,看是否能兼容到5.2.0,谢谢

liy9426 commented 2 years ago

也有相同的问题, 但是echart不能降级了, 期望能够兼容

Baojiaming commented 2 years ago

我也有相同的问题, echart不能降级了, 期望能够兼容

songyumeng commented 2 years ago

支持echarts5正在规划中

BATTLEHAWK00 commented 1 year ago

384