Javascript.RU

Создать новую тему Ответ
 
Опции темы Искать в теме
  #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.
Ответить с цитированием
  #2 (permalink)  
Старый 09.11.2015, 00:08
Аватар для khusamov
Соединяю Node.js и Ext JS
Отправить личное сообщение для khusamov Посмотреть профиль Найти все сообщения от khusamov
 
Регистрация: 25.06.2009
Сообщений: 1,033

Вот что он выдает, если в команде опустить тему:

Команда 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 Zevs zevs
Sencha Cmd v6.0.2.14
[INF] Processing Build Descriptor : classic
[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]).
[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]
[INF] Loading app json manifest...
[INF] Appending content to C:\Users\khusamov\Documents\zevs-client\zevs\bootstrap.js
[INF] Writing content to C:\Users\khusamov\Documents\zevs-client\zevs\classic.json
[INF] merging 248 input resources into C:\Users\khusamov\Documents\zevs-client\build\development\Zevs\classic\resources
[INF] merged 0 resources into C:\Users\khusamov\Documents\zevs-client\build\development\Zevs\classic\resources
[INF] merging 12 input resources into C:\Users\khusamov\Documents\zevs-client\build\development\Zevs
[INF] merged 1 resources into C:\Users\khusamov\Documents\zevs-client\build\development\Zevs
[INF] Writing content to C:\Users\khusamov\Documents\zevs-client\zevs\sass\example\bootstrap.json
[INF] Writing content to C:\Users\khusamov\Documents\zevs-client\zevs\sass\example\bootstrap.js
[INF] writing sass content to C:\Users\khusamov\Documents\zevs-client\build\temp\development\Zevs\sass\Zevs-all.scss.tmp
[INF] appending sass content to C:\Users\khusamov\Documents\zevs-client\build\temp\development\Zevs\sass\Zevs-all.scss.tmp
[INF] appending sass content to C:\Users\khusamov\Documents\zevs-client\build\temp\development\Zevs\sass\Zevs-all.scss.tmp
[INF] writing sass content to C:\Users\khusamov\Documents\zevs-client\build\temp\development\Zevs\sass\config.rb
[ERR] failed to download path : C:\Users\khusamov\Documents\zevs-client/senchaextjs/ext-6.0.0/packages/core/sass/etc/_all.scss
[ERR] failed to download path : C:\Users\khusamov\Documents\zevs-client/senchaextjs/ext-6.0.0/classic/theme-base/sass/etc/_all.scss
[ERR] failed to download path : C:\Users\khusamov\Documents\zevs-client/senchaextjs/ext-6.0.0/sass/etc/_all.scss
[ERR] failed to download path : C:\Users\khusamov\Documents\zevs-client/senchaextjs/ext-6.0.0/classic/theme-neptune/sass/etc/_all.scss


Далее бесконечный список failed to download path...

[ERR] failed to download path : C:\Users\khusamov\Documents\zevs-client/senchaextjs/ext-6.0.0/classic/theme-neptune/sass/src/grid/header/_Container.scss
[ERR] failed to download path : C:\Users\khusamov\Documents\zevs-client/senchaextjs/ext-6.0.0/classic/theme-neptune/sass/src/resizer/_Resizer.scss
[INF] Building ..\..\..\build\temp\development\Zevs\sass\Zevs-all.scss
[ERR] unknown definition for mixin named extjs-tab-panel-ui : C:\Users\khusamov\Documents\zevs-client/zevs/classic/sass/src/view/main/Main.scss:4
[ERR] unknown definition for mixin named extjs-panel-ui : C:\Users\khusamov\Documents\zevs-client/zevs/classic/sass/src/view/main/Main.scss:43
[INF] Build error for ..\..\..\build\temp\development\Zevs\sass\Zevs-all.scss
[ERR] Error: Sass compilation encountered 2 error(s)
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExBuild: Sass compilation encountered 2 error(s)
[ERR]   a
[ERR] t sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[ERR]
[ERR] Total time: 11 seconds
[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:286: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Sass compilation encountered 2 error(s)
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\build-impl.xml:286: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Sass compilation encountered 2 error(s)
[ERR]   at sun.reflect.
[ERR] DelegatingMethodAccessorImpl.invoke(Unknown Source)
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
[ERR] C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Sass compilation encountered 2 error(s)
[ERR]
[ERR] Total time: 14 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:286: The following error occurred while executing this line:
C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:189: The following error occurred while executing this line:
C:\Users\khusamov\Documents\zevs-client\zevs\.sencha\app\sass-impl.xml:211: com.sencha.exceptions.ExBuild: Sass compilation encountered 2 error(s)
[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.
Ответить с цитированием
  #3 (permalink)  
Старый 09.11.2015, 10:16
Профессор
Отправить личное сообщение для novikov Посмотреть профиль Найти все сообщения от novikov
 
Регистрация: 19.11.2012
Сообщений: 178

Да, нет. Ерунда. Нормально всё генерится. Хотя и была у меня тоже как-то такая штука:

"The application was last modified by an older version of Sencha Cmd (6.0.0.202)"

Уже не помню, как решил. То ли версию ЦМД менял, то ли просто всё переустановил.

Генерю,как указанов доках.
Из папки с СДК: sencha generate workspace /path/to/my/workspace
Из папки с воркспейсом: sencha generate app --ext MyAppName ./myappname
Из папки с приложением: sencha app build
Всё под обычным пользователем.
Ответить с цитированием
  #4 (permalink)  
Старый 09.11.2015, 15:51
Аватар для khusamov
Соединяю Node.js и Ext JS
Отправить личное сообщение для khusamov Посмотреть профиль Найти все сообщения от khusamov
 
Регистрация: 25.06.2009
Сообщений: 1,033

Спасибо за ответ!
Вопрос решен.
Решение в теме:
Sencha Cmd: Как с этой штукой справиться?
__________________
Хусамов Сухроб, Москва, khusamov@yandex.ru
Мой JS-стек: Sencha ExtJS 6, Node.js, TypeScript.
Ответить с цитированием
Ответ



Опции темы Искать в теме
Искать в теме:

Расширенный поиск


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
Sencha Cmd: sencha build khusamov ExtJS 6 24.11.2015 01:40
Sencha Cmd: generate package khusamov ExtJS 0 08.11.2015 22:52
Sencha Cmd: Unknown definition for dependency : Ext.ux.IFrame khusamov ExtJS 4 03.11.2015 23:33
Sencha cmd app custom folder Rastiniak ExtJS 7 21.04.2015 10:38