Node.js error : SyntaxError: Unexpected token ILLEGAL [SOLVED]
Problem :
'Unhandled exception: [SyntaxError: Unexpected token ILLEGAL]'
Solution :
This can be many things, from a weird unicode character not appearing in your editor to a simple extra double-quote at the wrong place. I suggest you commit, then go back to old revisions until it doesnt do it anymore. Then add your changes section by section until it causes the problem and you identify more precisely which part of code causes it !
Example :
var inputTemplateEnd = "
' </TS_Receiver>\n';
The code above will produce this error. Just remove the extra " at the end of the first line and it will fix it 
Recent Comments