Results 1 to 2 of 2

Thread: Sencha Cmd 5.0 issue - urgent, please help!

  1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default Sencha Cmd 5.0 issue - urgent, please help!

    I have an issue and it is affecting my soon to be production deployment. Suddenly


    $app_name.app.redirectTo stopped working


    I upgraded to Sencha Cmd 5 and touch 2.3.1 now $app_name.app.app does not evaluate to anything after a production build. It works fine locally. It gives me


    TypeError: 'undefined' is not an object (evaluating '$ap_name.app.redirectTo')


    I changed all my redirectTo's to fireEvents in my controllers but it seems it is complaining about the touch code now. Do you have any idea where the app name gets set in the production build?


    Salma

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,088
    Vote Rating
    136
      0  

    Default

    I would not recommend using Sencha Cmd 5 with Sencha Touch projects at this time. You should downgrade to Sencha Cmd 4.0.4.84.
    You can force a reinstall of 4.0.4.84 by issuing the following command in the terminal:
    Code:
    sencha upgrade -f version=4.0.4.84
    Then run the following command from your application root folder.
    Code:
    sencha app upgrade --noframework
    Are you using Architect?
    Get more personalized support via a support subscription.

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

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

    Need to include a test case use:
    The official Sencha Fiddle

Posting Permissions

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