title: "awsmobile init" is not working for web react
body: <p>I was following the steps given in the <a href="https://docs.aws.amazon.com/aws-mobile/latest/developerguide/web-getting-started.html" rel="nofollow noreferrer">AWS Documentation</a>.</p>
  
  <p>But after creating hello-world react app, I went into app root folder and tried to run "awsmobile init" command but I got error 'Unexpected token function'. </p>
  
  <p>I am using node version v6.11.5</p>
  
  <p>My question is why am I getting this error as there is no reference to this error given in the documentation ? How to resolve it ?</p>