PDA

View Full Version : undefined Error - invalid JSON String message



parky128
10 Feb 2012, 5:18 AM
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

mitchellsimoens
10 Feb 2012, 6:51 AM
What commands are you using?

parky128
10 Feb 2012, 6:53 AM
sencha create jsb -a index.html -p app.jsb3

mitchellsimoens
10 Feb 2012, 6:59 AM
I have not come across that error. Try doing it from a web server so instead of just index.html do http://..../index.html

parky128
10 Feb 2012, 7:22 AM
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.