PDA

View Full Version : ExtJS 6.0 and CMD 6. Failed to build Cordova package - error "ExNotFound"



surikm
13 Jul 2015, 12:49 AM
Hi all.
I'm trying to create empty project and build Cordova package with ExtJs 6 and Sencha CMD v6.0.0.202.
I'm following instructions from the help document http://docs.sencha.com/cmd/6.x/cordova_phonegap.html

sencha -sdk /path/to/Framework generate app MyApp /path/to/MyApp
change builds section of app.json file
sencha cordova init com.mycompany.MyApp MyApp
change builds section of app.json file - add native
sencha app build native
I'm receiving the following error: "com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application".
The full output below:
-------------------------------------------------------------------------------
D:\Sencha-projects\hellomobile9>sencha app build native
Sencha Cmd v6.0.0.202
[INF] Processing Build Descriptor : native
[INF] Starting server on port : 1841
[INF] Mapping http://localhost:1841/~cmd to C:\Users\igors\bin\Sencha\Cmd\6.0.0.202...
[INF] Mapping http://localhost:1841/ to D:\Sencha-projects\hellomobile9...
[INF] Application available at http://localhost:1841
[INF] Loading app json manifest...
[ERR] Failed to resolve dependency Ext.app.Application for file hellomobile9.Application
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
[ERR]
[ERR] Total time: 1 second
[ERR] The following error occurred while executing this line:
D:\Sencha-projects\hellomobile9\.sencha\app\build-impl.xml:381: The following error occurred while executing this line:
D:\Sencha-projects\hellomobile9\.sencha\app\init-impl.xml:372: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
---------------------------------------------------------------------------------------------------

What is wrong ?
"sencha app build classic" command works successfully.

Regards,

Gary Schlosberg
13 Jul 2015, 3:51 PM
What does your app.json look like?

surikm
13 Jul 2015, 10:45 PM
Hi Gary
I attached to this message at app.json file (compressed to zip file)

Regards,

perez_katrine
10 Aug 2015, 10:12 PM
Getting the same error:

com.sencha.exceptions.exnotfound unknown definition for dependency ext.app.application

Any idea to solve it?

Thanks

plunavat
17 Aug 2015, 6:05 AM
Hello,

I also tried the instruction mentioned in docs, but giving the same error mentioned by surikm above.
could you please help

Thanks in advance

Pranav C Lunavat

plunavat
20 Aug 2015, 6:09 AM
Hi Gary
I attached to this message at app.json file (compressed to zip file)

Regards,

Hello surikm,

Was your problem solved. If Yes could you please share as i am also facing the same issue

Thanks & Regards,
Pranav C Lunavat

plunavat
13 Sep 2015, 1:12 AM
for Solution please see

https://www.sencha.com/forum/showthread.php?304255-sencha-cmd-v6.0.0.202-Generate-an-Error&p=1115003&viewfull=1#post1115003

Thanks & Regards,
Pranav C Lunavat