Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

really disappointed Titanium 1.2.1


I have installed and tried to run kitchen sink - Mac OS 10.6.4, Apple SDK 3.2.3 and all I'm getting is errors, Titanium developer throws Javascript errors compile errors etc….

I have read the forums - reinstalled, duped kitchen sink and tried everything I can think of, but still it will not run properly, help…



— asked August 17th 2010 by Peter Lounton
  • 3.3.2
  • developer
  • iphone
  • kitchen
  • sink
  • titanium

3 Answers

  • Accepted Answer

    Well kitchen sink seems to have errors. Titanium uses jslint to validate the javascript before it compiles it, and sometimes you get this.

    You could try to disable jslint as per this post

    or to fix the errors in KS :)

    — answered August 17th 2010 by Dan Tamas
  • Hi Pete, what are the errors you receive?

    — answered August 17th 2010 by Dan Tamas
  • Hi Tamas,

    thank you for replying so quickly, the errors are:

    [WARN] JavaScript compiler reported "Extra comma." at examples/views.js:14
    [WARN] JavaScript compiler reported "Missing semicolon." at examples/views_zindex.js:87
    [WARN] JavaScript compiler reported "Function statements cannot be placed in blocks. Use a function expression or move the statement to the top of the outer function." at examples/web_views.js:210
    [WARN] JavaScript compiler reported "Extra comma." at

    there are many more lines or very similar [warn] type comment at the end of the list is:

    [WARN] JavaScript compiler reported "Missing semicolon." at main_windows/base_ui.js:74
    [INFO] One moment, building …
    [INFO] Titanium SDK version: 1.4.0
    [INFO] iPhone Device family: iphone
    [INFO] iPhone SDK version: 3.2
    [INFO] Performing clean build
    [INFO] Detected custom font: comic_zine_ot.otf

    then Titanium sit there a does nothing, I don't know if it is relevant but the Titanium developer application window is not 'moveable' if you click on the top bar you cannot move it around the screen or between monitors.

    SDK is set to 4.0
    Filter is set to Info

    Anything else I should be looking for?



    — answered August 17th 2010 by Peter Lounton
    • Those [WARN] errors should be just that: a warning not a failure, so they shouldn't affect execution as far as i'm aware. The warnings themselves are just a result of slightly sloppy code. For example if a javascript function contains a single line of code, its not absolutely necessary to put a semi colon at the end - it will run just fine. Similarly in website javascripting in general (not talking about Titanium for a second), leaving a trailing comma at the end of a set of array elements will be fine in many browser while IE often throws errors. Its just a discrepancy in syntax checking strictness.

      Fixing the Warnings may solve things though, and they're easy to fix. The fact that these errors remain in the 'official' examples is just disappointing.

      — commented August 17th 2010 by David Cranwell
    • Hi David,

      thank you for replying, with all your points fair enough - I was getting tried up in knots with it, stepped away for awhile, installed it all again this time with Profiles and Dev certificates and it runs wonderfully on my iPhone but not in simulator - nevermind…

      I can begin to glimpse the power of this method and am going to spend sometime learning how to do it. I have had your reply and another in a matter of minutes which is very much appreciated, thank you…


      — commented August 18th 2010 by Peter Lounton
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.