title: Error when building Next.js project: Failed to load config "react-app" to extend from
body: <p>I can't <code>npm run build</code> my next project it gives me this <code>Error: Failed to load config &quot;react-app&quot; to extend from</code>. Referenced:</p>
  <pre><code>type: 'Error',
    messageTemplate: 'extend-config-missing',
    messageData:
     { configName: 'react-app',
       importerName:
        '/home/kh/development/projects/nextproject/.eslintrc.json' } }
  </code></pre>
  <p>and my <code>.eslintrc.json</code> file</p>
  <pre><code>{
    &quot;plugins&quot;: [&quot;testing-library&quot;, &quot;jest-dom&quot;],
    &quot;extends&quot;: [
      &quot;react-app&quot;,
      &quot;react-app/jest&quot;,
      &quot;plugin:testing-library/react&quot;,
      &quot;plugin:jest-dom/recommended&quot;
    ]
  }
  </code></pre>