echarts-gl引入vue报错
ERRORFailed to compile with 3 errors11:11:19 ├F10: AM┤This dependency was not found:echarts/lib/label/labelStyle in ./node_modules/echarts-gl/lib/c
·
ERROR Failed to compile with 3 errors 11:11:19 ├F10: AM┤
This dependency was not found:
- echarts/lib/label/labelStyle in ./node_modules/echarts-gl/lib/component/common/LabelsBuilder.js, ./node_modules/echarts-gl/lib/component/grid3D/Grid3DView.js and 1 other
To install it, you can run: npm install --save echarts/lib/label/labelStyle
开始引入后发现报此错误
然后降级
npm install echarts-gl@1.1.0 --save
更多推荐
已为社区贡献1条内容
所有评论(0)