Hi,

I don't know if this can help you,
but I had the same problem ("Compilation produced 1 syntax errors.") and I discovered that i had left 1 "debugger" in my source code.

Best regards.