Results 1 to 3 of 3

Thread: Getting Started -- unknown definition for dependency

  1. #1

    Default Getting Started -- unknown definition for dependency

    I am migrating an existing app to Sencha cmd 6 and this is my first time working with cmd.

    cmd v. 6.0.2.14
    ext6 v. 6.0.1

    When I execute "sencha app build" command I get the following error:

    Code:
    Failed to resolve dependency for Object for file ***
    Doesnt cmd know where to find the ext folder?

    If not, how/where do I specify this?

    Thanks,
    Jack

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

    Default

    Did you generate a workspace?

    This is a helpful doc guide:
    http://docs.sencha.com/cmd/6.x/intro_to_cmd.html

  3. #3

    Default

    hey Gary,

    disregard that issue. I was missing all the paths inside classPaths in app.json. I was able to resolve the issue by adding path to Object class and changing extend:"Object" to extend:"Ext.Object".

    But now I have another question regarding the classpaths. We have some custom components deployed to a CDN and I tried adding url to CDN in classpaths but that didn't work:

    Is this the proper approach

    //app.json
    Code:
    "classpath":[
      "app",
      "{toolkit.name}/src",
      ...
      ...
      "https://path-to-cdn.com/mycustomcomponents"
    ]
    Can I not use Ext.Loader.paths instead?

    thanks,
    Jack

Similar Threads

  1. Unknown definition for dependency : Ext.ux.IFrame
    By khusamov in forum Sencha Cmd
    Replies: 2
    Last Post: 4 Nov 2015, 4:10 AM
  2. Unknown definition for dependency
    By sananda.dasgupta in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 20 Jul 2015, 7:00 PM
  3. Replies: 1
    Last Post: 3 Sep 2014, 6:24 AM
  4. ExNotFound: Unknown definition for dependency : Ext.app.ViewController
    By blomasky in forum Sencha Architect 3.x: Bugs
    Replies: 1
    Last Post: 12 Aug 2014, 8:28 AM
  5. Found: Unknown definition for dependency : PARRENTCLASS
    By awesomepeter in forum Sencha Cmd
    Replies: 1
    Last Post: 21 Oct 2013, 12:44 PM

Posting Permissions

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