-
10 Feb 2012 5:18 AM #1
undefined Error - invalid JSON String message
undefined Error - invalid JSON String message
Hi,
I am having a go at using the SDK tools for the first time, and I am getting the following error displayed:
undefined:0 Error: You're trying to decode an invalid JSON String:
I have no clues as to where this could be originating from, is there any way I can get some more detailed information on what's causing this error?
Thanks
-
10 Feb 2012 6:51 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
What commands are you using?
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.
-
10 Feb 2012 6:53 AM #3
sencha create jsb -a index.html -p app.jsb3
-
10 Feb 2012 6:59 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 438
I have not come across that error. Try doing it from a web server so instead of just index.html do http://..../index.html
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.
-
10 Feb 2012 7:22 AM #5
Ok that works, but after I do the final build I end up with a 1.6Mb file and its not minified.
I am doing this for Touch application (MVC) in case that has any bearing.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote