1. #1
    Sencha User deepakgarg89's Avatar
    Join Date
    Nov 2012
    Location
    Gurgaon, India
    Posts
    43
    Answers
    4
    Vote Rating
    0
    deepakgarg89 is on a distinguished road

      0  

    Default Answered: Production Build not working

    Answered: Production Build not working


    Hi,

    I had developed an app with name Myapp. Now i want to put it on server, for that i had used sencha command to generate production build.

    Command used on window: C:\wamp\www\Myapp>sencha app build production

    It successfully generated cache.manifest

    Now i had put Myapp/build/production directory on server but i am getting below message:

    Creating Application Cache with manifest http://test.demo/cache.manifest
    Application Cache Checking event
    Application Cache Downloading event
    Application Cache Progress event (0 of 1) http://test.demo/index.html
    Application Cache Progress event (1 of 1)
    Application Cache Cached event

    • [COLOR=red !important]Uncaught Error: [Ext.Loader] Failed loading 'src/log/Logger.js', please verify that the file exists[/COLOR]
    Please tell me what is the reason of this error. Am i doing right? Should i upload complete Myapp directory on server or Myapp/build/production directory?

  2. The above issue is now resolved, i had done a lot of search to fix the issue.

    This problem fixed by doing a little change in app.json. On bottom there is buildoptions. There you need to change "logger": "no" to "logger": false

    Previously it was :
    Code:
    "buildOptions:": {
        "product": "touch",
        "minVersion": 3,
        "debug": false,
        "logger": "no"
    }
    After fixing the issue, it is now:
    Code:
    "buildOptions:": {
        "product": "touch",
        "minVersion": 3,
        "debug": false,
        "logger": false
    }

  3. #2
    Sencha User
    Join Date
    May 2008
    Posts
    262
    Vote Rating
    -4
    mnask79 is infamous around these parts

      0  

    Default


    are you sure that you dont have error in your script ?

  4. #3
    Sencha User deepakgarg89's Avatar
    Join Date
    Nov 2012
    Location
    Gurgaon, India
    Posts
    43
    Answers
    4
    Vote Rating
    0
    deepakgarg89 is on a distinguished road

      0  

    Default Here i am posting the cmd screen messages which i got during creating build

    Here i am posting the cmd screen messages which i got during creating build


    C:\wamp\www\Myapp>sencha app build production
    [INFO] Deploying your application to C:\wamp\www\Myapp\build\production
    [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:///C:/wamp/www/Myapp/index
    .html)
    [INFO] Found 146 dependencies. Concatenating all into 'C:\wamp\www\Myapp\build\
    production\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
    [INFO] Generating checksum for appCache item: index.html
    [INFO] Generated cache.manifest

  5. #4
    Sencha User deepakgarg89's Avatar
    Join Date
    Nov 2012
    Location
    Gurgaon, India
    Posts
    43
    Answers
    4
    Vote Rating
    0
    deepakgarg89 is on a distinguished road

      0  

    Default Hi,

    Hi,


    The above issue is now resolved, i had done a lot of search to fix the issue.

    This problem fixed by doing a little change in app.json. On bottom there is buildoptions. There you need to change "logger": "no" to "logger": false

    Previously it was :
    Code:
    "buildOptions:": {
        "product": "touch",
        "minVersion": 3,
        "debug": false,
        "logger": "no"
    }
    After fixing the issue, it is now:
    Code:
    "buildOptions:": {
        "product": "touch",
        "minVersion": 3,
        "debug": false,
        "logger": false
    }

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar