Results 1 to 7 of 7

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

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    7

    Default ExtJS 6.0 and CMD 6. Failed to build Cordova package - error "ExNotFound"

    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,

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506

    Default

    What does your app.json look like?

  3. #3
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    7

    Default

    Hi Gary
    I attached to this message at app.json file (compressed to zip file)

    Regards,
    Attached Files Attached Files

  4. #4

    Default

    Getting the same error:

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

    Any idea to solve it?

    Thanks

  5. #5
    Sencha Premium Member
    Join Date
    Sep 2013
    Location
    India
    Posts
    57

    Default Example in sencha docs not working

    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

  6. #6
    Sencha Premium Member
    Join Date
    Sep 2013
    Location
    India
    Posts
    57

    Default

    Quote Originally Posted by surikm View Post
    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

  7. #7
    Sencha Premium Member
    Join Date
    Sep 2013
    Location
    India
    Posts
    57

    Default

    for Solution please see

    https://www.sencha.com/forum/showthr...=1#post1115003

    Thanks & Regards,
    Pranav C Lunavat

Similar Threads

  1. Replies: 2
    Last Post: 5 Dec 2014, 5:19 PM
  2. Error BUILD FAILED, when run "sencha app watch"
    By edaniel15 in forum Sencha Cmd
    Replies: 1
    Last Post: 20 Nov 2014, 2:12 PM
  3. Replies: 2
    Last Post: 14 Jan 2014, 10:51 PM
  4. Replies: 14
    Last Post: 19 Nov 2012, 7:02 AM
  5. Replies: 4
    Last Post: 9 Nov 2012, 7:28 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •