title: mern.io: server.js Unexpected token
body: <p>I'm trying to build a simple app using <a href="http://mern.io" rel="nofollow noreferrer">mernio</a>:</p>
  
  <pre><code>mern init myApp
  cd myApp
  npm install
  npm start
  </code></pre>
  
  <p>I got the following error:</p>
  
  <blockquote>
    <p>/Users/hazemhagrass/workspace/nodejs/vi_mern_server/node_modules/babel-core/lib/transformation/file/index.js:573
          throw err;
          ^</p>
    
    <p>SyntaxError:
    /Users/hazemhagrass/workspace/nodejs/vi_mern_server/server/server.js:
    Unexpected token (125:10)   123 |       .then(() => {   124 |<br>
    const initialView = renderToString(</p>
    
    <blockquote>
      <p>125 |           
            |           ^   126 |                127 |                  128 |             </p>
    </blockquote>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/qV1mU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qV1mU.png" alt="enter image description here"></a></p>