import { getVisualColor, getVisualOpacity } from '../../../lib/util/visual';
ERROR in ./src/chart/common/PointsBuilder.js 9:0-76
Module not found: Error: Can't resolve '../../../lib/util/visual' in 'C
resolve '../../../lib/util/visual' in 'C:\Project\ecdev\echarts-gl\src\
using description file: C:\Project\ecdev\echarts-gl\package.json (rel
Field 'browser' doesn't contain a valid alias configuration
using description file: C:\Project\ecdev\echarts-gl\package.json (r
no extension
Field 'browser' doesn't contain a valid alias configuration
C:\Project\ecdev\echarts-gl\lib\util\visual doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
C:\Project\ecdev\echarts-gl\lib\util\visual.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
C:\Project\ecdev\echarts-gl\lib\util\visual.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
C:\Project\ecdev\echarts-gl\lib\util\visual.wasm doesn't exist
as directory
C:\Project\ecdev\echarts-gl\lib\util\visual doesn't exist
@ ./src/chart/graphGL/GraphGLView.js 17:0-52 38:34-47
@ ./src/chart/graphGL/install.js 7:0-40 17:32-43
@ ./src/chart/graphGL.js 2:0-44 3:4-11
@ ./src/export/all.js 18:0-26
./src/chart/common/PointsBuilder.js line9 引用的lib文件夹缺失, 看了下被git Ignore了.. 暂时用
../../util/visual
替代. 不知是缺了还是路径打错了.