1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Answers
    5
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default Unanswered: sencha app build package - bug?

    Unanswered: sencha app build package - bug?


    Hello everyone.

    I'm with a bug here and I don't know how to handle it.
    I have created an app using
    sencha generate app teste ../teste

    Then, just after that, without changing nothing on the generated code, I'm trying to test a build:

    sencha app build package

    Code:
    [INFO] Deploying your application to /Users/lgertel/Sites/teste/build/package[INFO] Copied sdk/sencha-touch.js
    [INFO] Copied app.js
    [INFO] Copied resources/css/app.css
    [INFO] Copied resources/images
    [INFO] Copied resources/icons
    [INFO] Copied resources/startup
    [INFO] Resolving your application dependencies (file:////Users/lgertel/Sites/teste/index.html)
    [INFO] Found 139 dependencies. Concatenating all into '/Users/lgertel/Sites/teste/build/package/app.js'
    [INFO] Processed sdk/sencha-touch.js
    [INFO] Minifying sdk/sencha-touch.js
    [INFO] Processed app.js
    [INFO] Minifying app.js
    [INFO] Minifying resources/css/app.css
    [INFO] Minified sdk/sencha-touch.js
    [INFO] Minified app.js
    [INFO] Minified resources/css/app.css
    [INFO] Generated app.json
    [INFO] Embedded microloader into index.html
    The thing is, when trying to access the generated build on chrome I'm getting this error:




    What I'm missing as I didn't change nothing from the original created application?
    I'm using sencha 2.0.1.1

    Thanks

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Answers
    5
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default


    BUMP!

    Any news for this one?

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    103
    Answers
    5
    Vote Rating
    10
    pepperseb is on a distinguished road

      0  

    Default Try to change app.json

    Try to change app.json


    Open your app.json file and change the logger line to false:

    Code:
    .
    "buildOptions": {
            "product": "touch",
            "minVersion": 3,
            "debug": false,
            "logger": false
        },

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    106
    Answers
    5
    Vote Rating
    5
    lgertel is on a distinguished road

      0  

    Default


    Now:

    Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically.

    On my app.js I have this:
    Code:
    Ext.Loader.setConfig({enabled:true});
    
    
    Ext.Loader.setPath({
        'Ext': 'sdk/src'
    });

Thread Participants: 1