Я пытаюсь создать недавно созданное приложение Ext js и получаю сообщение об ошибке:
$ sencha app watch
[ERR] Failed to resolve dependency Ext.app.Application for file StatsApp.Application
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
[ERR] at org.apache.tools.ant.Target.p
[ERR] erformTasks(Target.java:413)
[ERR]
[ERR] Total time: 1 second
[ERR] /home/cyprien/bin/Sencha/Architect/Cmd/6.6.0.13/plugin.xml:378: The following error occurred while executing this line:
/home/cyprien/projets/statsAppNew/.sencha/app/build-impl.xml:252: The following error occurred while executing this line:
/home/cyprien/projets/statsAppNew/.sencha/app/watch-impl.xml:87: The following error occurred while executing this line:
/home/cyprien/projets/statsAppNew/.sencha/app/build-impl.xml:386: The following error occurred while executing this line:
/home/cyprien/projets/statsAppNew/.sencha/app/init-impl.xml:436: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
Я пытался добавить требование к файлу следующим образом:
// Application.js
Ext.define('StatsApp.Application', {
extend: 'Ext.app.Application',
requires: [
'Ext.app.Application'
],
Sencha Cmd v6.6.0.13
Я сделал репозиторий здесь: statsApp-debug на github