apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.58k stars 19.62k forks source link

zrender文件夹下npm run prepublish,生成的lib中缺少文件 #9786

Closed fuyongxia closed 5 years ago

fuyongxia commented 5 years ago

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

deqingli commented 5 years ago

What file is missing? please provide detailed message.

fuyongxia commented 5 years ago

What file is missing? please provide detailed message. missing file: zrender/lib/graphic/helper/subPixelOptimize.js

fuyongxia commented 5 years ago

What file is missing? please provide detailed message.

missingInfo: missing file: zrender/lib/graphic/helper/subPixelOptimize.js

How is the problem solved?

Ovilia commented 5 years ago

I believe this has been fixed. Please check again and open a new issue if this problem still exists.