Node app - SyntaxError: Unexpected token

For me its node js version problem I was using 14 and now using 18V