Async throwing SyntaxError: Unexpected token ( Async throwing SyntaxError: Unexpected token ( vue.js vue.js

Async throwing SyntaxError: Unexpected token (


I found out: node LTS (AKA node 6) is not supporting async / await mechanism right now. See : enter image description here

See here for details : https://www.infoq.com/news/2017/02/node-76-async-await


I tried your code on my laptop after a lint and it worked perfectly:enter image description here

Maybe you have an environment issue.

have you considered removing the semi colon at the beginning of the line? It does not look like right programing. Or maybe a webpack issue.