-
21 Oct 2012 9:31 AM #1
Unanswered: Error when running my built project
Unanswered: Error when running my built project
Hi all,
New to Sencha and the forum so hope I'm in the right place with this.
I've created the "Getting started" project described here: http://localhost:81/touch/docs/#!/guide/getting_started
Then I created a project file (jsb3) and built a production package as described here: http://docs.sencha.com/touch/2-0/#!/guide/building
Then I created a copy of the index file and included the all-classes.js and app.js scripts.
But when I try to run them I get the following error:
Uncaught TypeError: Cannot read property 'apply' of undefined
Any ideas?
Thanks,
Ben
-
23 Oct 2012 5:05 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,085
- Vote Rating
- 453
- Answers
- 3153
Where does this happen in your code?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
23 Oct 2012 5:53 AM #3
Here's the call stack with the exception:
- [COLOR=red !important]Uncaught TypeError: Cannot read property 'apply' of undefined sencha-touch.js:32[/COLOR]
- [COLOR=red !important]b.implement.initConfig[/COLOR]sencha-touch.js:32
- [COLOR=red !important]Ext.define.constructor[/COLOR]app-all.js:4
- [COLOR=red !important]Ext.apply.create.f[/COLOR]sencha-touch.js:32
- [COLOR=red !important](anonymous function)[/COLOR]
- [COLOR=red !important]Ext.ClassManager.instantiate[/COLOR]sencha-touch.js:6388
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:3195
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:9235
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9271
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:9234
- [COLOR=red !important]Ext.apply.require[/COLOR]sencha-touch.js:7790
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:3195
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9233
- [COLOR=red !important]factory[/COLOR]sencha-touch.js:9290
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9293
- [COLOR=red !important]factory[/COLOR]sencha-touch.js:9290
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9293
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:9234
- [COLOR=red !important]Ext.apply.require[/COLOR]sencha-touch.js:7790
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:3195
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9233
- [COLOR=red !important]factory[/COLOR]sencha-touch.js:9290
- [COLOR=red !important]fn[/COLOR]sencha-touch.js:9278
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:9235
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9271
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:9234
- [COLOR=red !important]Ext.apply.require[/COLOR]sencha-touch.js:7790
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:3195
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9233
- [COLOR=red !important]factory[/COLOR]sencha-touch.js:9290
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9293
- [COLOR=red !important]factory[/COLOR]sencha-touch.js:9290
- [COLOR=red !important]Ext.apply.factoryConfig[/COLOR]sencha-touch.js:9293
- [COLOR=red !important](anonymous function)[/COLOR]sencha-touch.js:8927
- [COLOR=red !important]Ext.apply.triggerReady[/COLOR]sencha-touch.js:32
- [COLOR=red !important]Uncaught TypeError: Cannot read property 'apply' of undefined sencha-touch.js:32[/COLOR]


Reply With Quote