Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35

Thread: Cannot build package: Ext. dependency not found

  1. #11
    Sencha User
    Join Date
    Jun 2010
    Posts
    12

    Default

    A big thank to bpjohnson, for not only providing a solution but also a valuable piece of advice for the resolution of problems to come.

    After adding package.framework=ext, I faced an error later in the build like the two posters before me. This error happened in the style section of the build, which is not needed by my code package (not a theme). By looking in build-impl.xml as hinted by bpjohnson, I saw that there is a skip.style option. With this I was able to build my package (add skip.style=1 in your package sencha.cfg file).

  2. #12
    Sencha Premium Member
    Join Date
    Mar 2013
    Location
    Sydney
    Posts
    12

    Default

    @bpjohnson, Thanks a lot.

    I think it would be helpful that package.framework is added when code package is generated.

  3. #13
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    46

    Default

    @bpjohnson, thanks so much!

    It did work for me on Sencha Cmd v4.0.1.45
    The error is now gone.

    +1 that is should be added to sencha.cfg automatically for code packages.

  4. #14
    Sencha User
    Join Date
    Jan 2009
    Posts
    8

    Default

    @bpjohnson, thanks so much!works great!!add to work for mepackage.framework=touchskip.style=1+1 to add the package.framework

  5. #15
    Sencha User
    Join Date
    Aug 2013
    Posts
    6

    Default

    try to add the line to the file:

    "workspace/.sencha/workspace/sencha.cfg"

    instead of the ".sencha/package/sencha.cfg" file, it worked for me

  6. #16
    Sencha Premium User
    Join Date
    Feb 2009
    Location
    Bath, UK
    Posts
    1,037

    Default

    Adding
    Code:
    package.framework=ext
    to my package sencha.cfg worked for me.
    Thanks.


    Odd that it needs this, when it's in a workspace that contains Ext.

  7. #17
    Sencha User
    Join Date
    Nov 2012
    Posts
    15

    Default

    Getting the same issue friends,
    any solution for the problem. I have added the above specified two lines to my sencha.cfg file
    [ERR] Failed to resolve dependency Ext.data.Model for file TriNetCommon.model.BaseModel
    [ERR]
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.data.Model
    [ERR]
    [ERR] Total time: 3 seconds
    [ERR] The following error occurred while executing this line:

  8. #18

    Default

    Solution for me:

    A copy or move or checkin or checkout dropped the entire .sencha folder from my package.


    Dunno when where who what how, but the symptom was "Failed to resolve package".

    When I went looking to apply this fix I find no folder, so I fetch it again and all is well.

    Meantime,
    package.framework=ext is not found in the entire workspace and the fix was not required. Go figure. 5.1.0 here

  9. #19
    Ext JS Premium Member
    Join Date
    Sep 2008
    Location
    Raleigh, NC
    Posts
    164

    Default

    +1 on this for making a package that inherits from any base Extjs code (in my case Ext.panel.Panel). I am using Sencha Cmd v5.1.1.39.

    This should *really* get added to the docs:

    http://docs-origin.sencha.com/cmd/5...._packages.html

    Even a simple note in the "Building The Package" section would be a big benefit, pseudo-documented like:

    If you are extending any Ext classes, add this line:

    Code:
    package.framework=ext
    to the config file:

    package/<package_name>/.sencha/package/sencha.cfg

  10. #20
    Sencha User
    Join Date
    Jul 2012
    Location
    Melbourne
    Posts
    2

    Default

    I found that in addition to adding this line to my .sencha/package/sencha.cfg file:
    PHP Code:
    package.framework=ext 
    I also had to add the following to package.json:
    PHP Code:
    "framework""ext" 

Page 2 of 4 FirstFirst 1234 LastLast

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
  •