title: Error: @babel/helper-plugin-utils/src/index.js: Unexpected token, expected "," (93:5) while trying to build application
body: <p>While i'am trying to run "npm run build":</p>
  
  <pre><code>    "start": "npm run build &amp;&amp; node ./dist/index.js",
      "dev": "nodemon --exec babel-node ./index.js",
      "debug": "node --inspect-brk ./dist/index.js",
      "clean": "rm -rf build &amp;&amp; mkdir build",
      "build": "npm run clean &amp;&amp; npm run build-babel ",
      "build-babel": "babel src --out-dir ./dist --source-maps --ignore 'node_modules/**/*.js'",
      "build-client": "cd client &amp;&amp; npm install &amp;&amp; npm run build"
  </code></pre>
  
  <p>I am getting error: </p>
  
  <pre><code>{ SyntaxError: /home/marcin/Pobrane/recipeapp-style/src/client/node_modules/@babel/helper-plugin-utils/src/index.js: Unexpected token, expected "," (93:5)
  
    91 |       version,
    92 |       range,
  &gt; 93 |     }: any),
       |      ^
    94 |   );
    95 | }
  </code></pre>
  
  <p>I've had nodejs project and nested project created in reactjs (CRA) in my project in "client" folder.</p>
  
  <p>I've tried this - <a href="https://github.com/babel/babel/issues/8944" rel="nofollow noreferrer">https://github.com/babel/babel/issues/8944</a>
  But it doesn't help me.</p>
  
  <p>My folder structure looks like this</p>
  
  <ul>
  <li>build</li>
  <li>dist </li>
  <li>node_modules</li>
  <li>src
  
  <ul>
  <li>client (here is create-react-app)</li>
  <li>....many less significant folders</li>
  </ul></li>
  <li>.babelrc</li>
  <li>index.js</li>
  <li>package-lock.json</li>
  <li>package.json </li>
  </ul>
  
  <p>If you think this is something else, please let me know.</p>
  
  <p>I would like to build my project an hosted it on heroku, but i have to build it using babel (because ES6).</p>