我是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:WorkspaceZscorezscore.senchaappinit-impl.xml:382: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.chart.LegendBase
可能是什么问题?
您是否尝试在app.json 的requires数组中添加图表
来自Extjs论坛:
我认为您需要指定要针对的构建概要文件。类似这样的东西:sencha ant-Dbuild.id=classic-Dbuild.name=classic sass
论坛链接:https://www.sencha.com/forum/showthread.php?314286-Extjs6运行sencha ant sass命令时出错