View Full Version : Where to find "syntax errors"

25 Jan 2012, 7:06 AM

the output of my build give me same errormessages. Where can I find that errors in the source? What is the meaning of that numbers?

sencha build -v -p myproject.jsb3 -d .

[ERROR] 3689:26:syntax error
[ERROR] 3690:34:missing ; before statement
[ERROR] 3697:18:syntax error
[ERROR] 7686:21:missing : after property id

The errors were thrown after "Compress and obfuscate .."

In this forum I only found an old post without any answer:

So someone can help me?


1 Feb 2012, 12:56 AM
Okay, I can answer myself.

The number is the linenumber of the code in the build file. In my case I used a attribute "short".

{short: ''}

This throw the error "[ERROR] 11456:10:invalid property id" in the right line. So I have to quote it and everything was fine. It seems that "short" is a reserved word for the compressor.

{'short': ''}