MohitDeshwal's avatar

Uncaught SyntaxError: Invalid or unexpected token

chrome inspect shows

\u0

at the end of the file, which is causing the error:

Uncaught SyntaxError: Invalid or unexpected token

PhpStrom shows this file as LF encoded and CRLF for other files

## if i delete the file and rerun

gulp

it works for one time.
0 likes
1 reply
goatshark's avatar

@MOHITDESHWAL You should post the file that is throwing the "Uncaught SyntaxError: Invalid or unexpected token" error.

Please or to participate in this conversation.