0

我是 extjs 的新手。我通过 sencha cmd 创建了一个 extjs 6.0.2 应用程序。我运行命令sencha app build classic。一切顺利,应用程序创建成功。但是当我运行命令sencha ant sass时,我在控制台中收到以下错误

[ERR] Failed to resolve dependency Ext.chart.LegendBase for file  Ext.chart.Legend
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.chart.LegendBase
[ERR]
[ERR] Total time: 3 seconds
[ERR] The following error occurred while executing this line:
E:\Workspace\Zscore\zscore\.sencha\app\init-impl.xml:382: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.chart.LegendBase

可能是什么问题?

4

2 回答 2

0

来自 Extjs 论坛:

我相信您需要指定目标构建配置文件。像这样:sencha ant -Dbuild.id=classic -Dbuild.name=classic sass

论坛链接:https ://www.sencha.com/forum/showthread.php?314286-Extjs6-Error-running-sencha-ant-sass-command

于 2017-03-13T11:41:38.737 回答
0

您是否尝试在需要 app.json 的数组中添加图表

于 2016-07-24T13:52:53.433 回答