Node app - SyntaxError: Unexpected token

Its not a Node Issue, its issue with mongoose V-8 and above, if you use mongoose V-7.4.1 then problem will be solve.

3 Likes