Показать сообщение отдельно
  #1 (permalink)  
Старый 08.11.2015, 23:32
Аватар для khusamov
Соединяю Node.js и Ext JS
Отправить личное сообщение для khusamov Посмотреть профиль Найти все сообщения от khusamov
 
Регистрация: 25.06.2009
Сообщений: 1,033

Sencha Cmd: Failed to resolve package gray
Пытаюсь сгенерировать приложение, но ничего не выходит.

Пробовал такие варианты:

sencha -sdk C:/senchaextjs/ext-6.0.0 generate app -th gray Zevs zevs
sencha -sdk C:/senchaextjs/ext-6.0.0 generate app -th theme-gray Zevs zevs
sencha -sdk C:/senchaextjs/ext-6.0.0 generate app --theme-name gray Zevs zevs
sencha -sdk C:/senchaextjs/ext-6.0.0 generate app --theme-name theme-gray Zevs zevs

На все один ответ: Failed to resolve package gray (см. полный листинг в конце поста).

Пробовал также такой вариант:

sencha -sdk C:/senchaextjs/ext-6.0.0 generate app Zevs zevs

На что он выдал такой огромный список ошибок что я его даже побоялся тут публиковать. Все отправил это на форум сенчи, пусть разбираются.

Листинг:

khusamov@Kosmos:~/Documents/zevs-client$ sencha -sdk C:/senchaextjs/ext-6.0.0 generate app -th gray Zevs zevs
Sencha Cmd v6.0.2.14
[INF] Processing Build Descriptor : classic
[WRN] Failed to resolve package gray
[WRN] Failed to resolve package gray
[INF] Using GPL Version of Ext JS version 6.0.0.640 from C:\senchaextjs\ext-6.0.0.
[INF] The implications of using GPL version can be found here ([url]http://www.sencha.com/products/extjs/licensing[/url]).
[WRN] Failed to resolve package gray
[ERR] Theme "gray" not found
[WRN] Failed to resolve package gray
[ERR] Theme "gray" not found
[WRN] Failed to resolve package gray
[ERR] Theme "gray" not found
[INF] Starting server on port : 1841
[INF] Mapping [url]http://localhost:1841/~cmd[/url] to C:\Users\khusamov\bin\Sencha\Cmd\6.0.2.14...
[INF] Mapping [url]http://localhost:1841/[/url] to C:\Users\khusamov\Documents\zevs-client...
[INF] Application available at [url]http://localhost:1841[/url]
[WRN] Failed to resolve package gray
[ERR] Theme "gray" not found
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: com.sencha.exceptions.ExNotFound: Required package "gray" not found
[ERR]   at org.apache.tools.ant.
[ERR] Target.execute(Target.java:392)
[ERR]
[ERR] Total time: 1 second
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\build-impl.xml:381: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\init-impl.xml:382: com.sencha.exceptions.BasicException: com.sencha.exceptions.ExNotFound: Required package "gray" not found
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\build-impl.xml:381: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\init-impl.xml:382: com.sencha.exceptions.BasicException: com.sencha.exceptions.ExNotFound: Required package "gray" not found
[ERR]   at org.a
[ERR] pache.tools.ant.Task.perform(Task.java:348)
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\init-impl.xml:382: com.sencha.exceptions.BasicException: com.sencha.exceptions.ExNotFound: Required package "gray" not found
[ERR]
[ERR] Total time: 4 seconds
[ERR] The following error occurred while executing this line:
C:\Users\khusamov\bin\Sencha\Cmd\6.0.2.14\plugins\ext\current\plugin.xml:155: com.sencha.exceptions.BasicException: The following error occurred while executing this line:
C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\build-impl.xml:381: The following error occurred while executing this line:
C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\init-impl.xml:382: com.sencha.exceptions.BasicException: com.sencha.exceptions.ExNotFound: Required package "gray" not found
[ERR]
The application was last modified by an older version of Sencha Cmd (6.0.0.202)
the current is 6.0.2.14.
Please run "sencha package upgrade" to update to 6.0.2.14.


И вдобавок ко всему он в конце предлагает сделать апгрейд пакета. У меня в воркспейсе нет пакетов. Чего он хочет не ясно...
__________________
Хусамов Сухроб, Москва, khusamov@yandex.ru
Мой JS-стек: Sencha ExtJS 6, Node.js, TypeScript.
Ответить с цитированием