Closed fuyongxia closed 5 years ago
What file is missing? please provide detailed message.
What file is missing? please provide detailed message. missing file: zrender/lib/graphic/helper/subPixelOptimize.js
What file is missing? please provide detailed message.
missingInfo: missing file: zrender/lib/graphic/helper/subPixelOptimize.js
How is the problem solved?
I believe this has been fixed. Please check again and open a new issue if this problem still exists.
General Questions
Issue Type
Issue Details
通过在incubator-echarts文件夹下npm install或者在zrender文件夹下npm run prepublish,生成的lib中缺少文件,造成运行时出现module not found的问题出现
Expected Behavior
Current Behavior
ERROR in ./lib/echarts/lib/util/graphic.js Module not found: Error: Cannot resolve module 'zrender/lib/graphic/helper/subPixelOptimize' in E:\work-space\work\sh-isoc\sh-isoc-situation-web\src\main\develop\lib\echarts\lib\util @ ./lib/echarts/lib/util/graphic.js 104:27-81
Online Example
Topics
Anything Else We Need to Know
Environment
ECharts version;ECharts 版本: {v4.2.0-rc.2}
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}