title: Gatsby build fails without any helpful error
body: <p>I inherited a big project and while <code>gatsby develop</code> works without any issue, when I run <code>gatsby build</code> I get the following:</p>
  <pre><code> ERROR #95313 
  
  Building static HTML failed
  
  See our docs page for more info on this error: https://gatsby.dev/debug-html
  
  
    80 |     start,
    81 |     end,
  &gt; 82 |     markerLines
       | ^
    83 |   };
    84 | }
    85 |
  
  
    WebpackError: Worker exited before finishing task
    
    - index.js:82 
      [gatsby-starter-default]/[@babel]/code-frame/lib/index.js:82:1
    
    - caching.js:67 
      [gatsby-starter-default]/[@babel]/core/lib/config/caching.js:67:1
  </code></pre>
  <p>I tried setting up debugger but nothing new. The lines it shows are from webpack so no help.</p>
  <p>I tried <code>--verbose</code> and it also don't show anything more. How can I better debug this and find the source of the issue? I read gatsby build-html docs(and issues section) and the only mentioned solution that would probably work is checking files one by one(huge project, hoping it doesn't come to that). Any ideas?</p>