1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    41
    Vote Rating
    0
    Answers
    7
    dshookowsky is an unknown quantity at this point

      0  

    Default Unanswered: Upgrading from 2.01.1. to 2.1

    Unanswered: Upgrading from 2.01.1. to 2.1


    I attempted to upgrade to 2.1. I removed the 2.0.1.1 sdk folder from my project and moved in the 2.1 sdk, but I'm getting errors because the chart folder is empty and it's still referencing something in there.

    I'm not using charts in my solution. I'm currently loading sencha with

    HTML Code:
    <script id="microloader" type="text/javascript" src="sdk/microloader/development.js"></script>

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    41
    Vote Rating
    0
    Answers
    7
    dshookowsky is an unknown quantity at this point

      0  

    Default


    I assume that the correct response should be to recompile the sencha js excluding charts if I'm not using it, but unfortunately any call to sencha command line results in an error with the new sdk

    Code:
    node.js:201
            throw e; // process.nextTick error, or 'error' event on first tick
                  ^
    ReferenceError: document is not defined
        at C:\Projects\Agendaman\AgendaManagerMobile\sdk\src\core\class\Loader.js:1299:19
        at Object.<anonymous> (C:\Projects\Agendaman\AgendaManagerMobile\sdk\src\core\class\Loader.js:1323:2)
        at Module._compile (module.js:441:26)
        at Object..js (module.js:459:10)
        at Module.load (module.js:348:31)
        at Function._load (module.js:308:12)
        at Module.require (module.js:354:17)
        at require (module.js:370:17)
        at C:\Projects\Agendaman\AgendaManagerMobile\sdk\command\sencha.js:40:9
        at Array.forEach (native)

Tags for this Thread