Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User rkraus's Avatar
    Join Date
    Dec 2011
    Location
    Bonn / Germany
    Posts
    68
    Vote Rating
    0
    rkraus is an unknown quantity at this point

      0  

    Default [2.1.0-b3] Production build is crashing

    [2.1.0-b3] Production build is crashing


    Hi,

    I don´t know if this is a bug in the new Sencha CMD Tool or in beta3 of Sencha 2.1

    My building process is going fine but when I run the build like

    "http://localhost/builds/appname/production/"

    I got this error:

    Code:
    When I run the normal Code (without building it with Sencha CMD) everything is working fine.
    Greetings -Ralf Kraus-

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,599
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    It seems to work for me using Sencha Cmd 3 with ST 2.1.0 b3

    > cd /path/to/sencha-touch-2.1.0-beta3
    > sencha generate app MyApp ../MyApp
    > cd ../MyApp

    * edit app.js:
    added Ext.Loader.setPath('Ext', 'touch/src'); as first line

    > sencha app build production

    Then run the production build and it caches things properly.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.