Sencha packaging generate error "document is not defined"
I recently update to 2.1 because of problem while trying to launch my application on Safari for iPhone/iPad 4.3.
I corrected the last bugs and, now, when i try to launch "sencha app build production" it throw an error "ReferenceError: document is not defined":
c:\wamp\....\v3>sencha app build production
throw e; // process.nextTick error, or 'error' event on first tick
ReferenceError: document is not defined
at Object.<anonymous> (c:\wamp\...\v3\sdk\src\core\class\Loa
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 Array.forEach (native)
- Copy the app's corrections and build via 2.0 SDK, build success but safari still bug
- Re-download and re-extract 2.1 sdk in my app's folder
- Comment vendors libraries (Cordova/Phonegap, jQuery, Google Maps)
Have someone already had this bug? Or have an idea that could help me?
Many thanks in advance!
I'm a froggie frenchy, sorry for my grammar ;)