Results 1 to 2 of 2

Thread: "sencha app upgrade -noframework" - app.js error generation

  1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Vote Rating

    Default "sencha app upgrade -noframework" - app.js error generation

    After upgrade the app the app.js file seems to be wrong.

    $ sencha app build production
    Sencha Cmd v3.1.1.274
    [ERR] The app was last modified by an older version of Sencha Cmd (, current is Please run 'sencha app upgrade -noframework' to update.
    [ERR] Application Cmd version mismatch.
    hackd:madideas davide$ sencha app upgrade -noframework

    the upgrade process add to app.js a wrong code like:

    "<<<<<<< Generated"



     * File: app.js
     * This file was generated by Sencha Architect version 2.2.2.
     * This file requires use of the Sencha Touch 2.1.x library, under independent license.
     * License of Sencha Architect does not include license for Sencha Touch 2.1.x. For more
     * details see or contact
     * This file will be auto-generated each and everytime you save your project.
     * Do NOT hand edit this file.
    //@require @packageOverrides
        viewport: {
            autoMaximize: true
    <<<<<<< Generated
        requires: [
        views: [
        stores: [
        controllers: [
        icon: {
            '57': 'resources/icons/Icon.png',
            '72': 'resources/icons/Icon~ipad.png',
            '114': 'resources/icons/Icon@2x.png',
            '144': 'resources/icons/Icon~ipad@2x.png'
        isIconPrecomposed: true,
        startupImage: {
            '320x460': 'resources/startup/320x460.jpg',
            '640x920': 'resources/startup/640x920.png',
            '768x1004': 'resources/startup/768x1004.png',
            '748x1024': 'resources/startup/748x1024.png',
            '1536x2008': 'resources/startup/1536x2008.png',
            '1496x2048': 'resources/startup/1496x2048.png'
        models: [
        views: [
        controllers: [
        name: 'App',
    >>>>>>> Custom
        launch: function() {
            Ext.create('App.view.Main', {fullscreen: true});
    After remove manually the wrong code the app works.


  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Many times app.js will have a merge conflict and Cmd kind of stomps all over it. We do have a feature request to handle this case better than creating invalid javascript.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

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

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

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