ecomfe / echarts-gl

Extension pack for Apache ECharts, providing globe visualization and 3D plots.
BSD 3-Clause "New" or "Revised" License
2.59k stars 844 forks source link

echarts4.9 echarts-gl 2.02 build出现如下错误 #393

Closed leiqu closed 3 years ago

leiqu commented 3 years ago

ERROR in ./~/_echarts-gl@2.0.2@echarts-gl/lib/component/grid3D/Grid3DAxis.js Module not found: Error: Can't resolve 'echarts/lib/label/labelStyle' in 'E:\source\flying-fish-manage\node_modules_echarts-gl@2.0.2@echarts-gl\lib\component\grid3D' @ ./~/_echarts-gl@2.0.2@echarts-gl/lib/component/grid3D/Grid3DAxis.js 2:0-63 @ ./~/_echarts-gl@2.0.2@echarts-gl/lib/component/grid3D/Grid3DView.js @ ./~/_echarts-gl@2.0.2@echarts-gl/lib/component/grid3D/install.js @ ./~/_echarts-gl@2.0.2@echarts-gl/lib/component/grid3D.js @ ./~/_echarts-gl@2.0.2@echarts-gl/lib/export/all.js @ ./~/_echarts-gl@2.0.2@echarts-gl/index.js @ ./src/main.js

pissang commented 3 years ago

https://github.com/ecomfe/echarts-gl#include-by-scripts

ECharts GL 2.x is compatible with ECharts 5.x. ECharts GL 1.x is compatible with ECharts 4.x.