This solution solved it for us
We had a few lines of javascript above the Ext.application({...}) in our app.js file. For us, this produces the error. When we removed those lines it solved our problem.
I got the same.. And I fixed it
Hiii...
I am new to extJs. I also got the same error message Undefined is not an Object. When I checked in detail the xtype I gave was incorrect. I believe this error occurs when U gave an incorrect xtype.
Regards
Often, The Error Can Be Ignored
I have found that the error is produced when I use a static html file vs one served from http:// But the jsb3 file is fine.
I get the error from this command:
Code:
sencha create jsb -a index.html -p app.jsb3
But not this command using http://:
Code:
sencha create jsb -a http://localhost:9090/app/index.html -p app.jsb3
But in both cases, the jsb3 file is fine. I didn't realize this at first...I assumed the error caused a failure to build the file.