20 Dec 2012 7:52 PM #1
App not working after Sencha Cmd Build
Takes me days and I still can''t figure this out.
I have built an Sencha Touch 2.1 app with an extension from Sencha Market. I can build the app with Sencha Cmd 3 with the flag v2deps set to true. After I run the build (testing or production), the app acts differently and I got an error:
Uncaught TypeError: Cannot read property 'title' of undefined
on this line of code
Since it is a straight build, I assume no code is being changed. The non-build one is working 100% fine. Does anyone encounter similar problem?
22 Dec 2012 7:21 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Why are you using v2deps?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
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. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
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.
28 Dec 2012 9:25 AM #3
I was using some sencha market plugin and thought that I need to make the build compatible with v2. But I configure out that I need to configure sencha.cfg for all the classpath.
Now, I can build the sencha touch app without using the v2dep flag.
Sadly, the problem still exists and the original code works perfectly and the single js testing build is acting differently. Did anyone else run into the same problem?