title: eslint - Failed to load plugin '@typescript-eslint'
body: <p>When i try to run the application by <code>npm start</code></p>
  <pre><code>Failed to load plugin '@typescript-eslint' declared in '.eslintrc.json': Class extends value undefined is not a constructor or null
  </code></pre>
  <p>Why does it happen and how can I fix it?</p>
  <p>eslintrc.json</p>
  <pre><code>{
    &quot;env&quot;: {
      &quot;browser&quot;: true,
      &quot;es2021&quot;: true
    },
    &quot;extends&quot;: [&quot;plugin:react/recommended&quot;, &quot;airbnb&quot;],
    &quot;parser&quot;: &quot;@typescript-eslint/parser&quot;,
    &quot;settings&quot;: {
      &quot;import/resolver&quot;: {
        &quot;node&quot;: {
          &quot;extensions&quot;: [&quot;.ts&quot;, &quot;.tsx&quot;],
          &quot;moduleDirectory&quot;: [&quot;src&quot;, &quot;node_modules&quot;]
        }
      }
    },
    &quot;parserOptions&quot;: {
      &quot;ecmaFeatures&quot;: {
        &quot;jsx&quot;: true
      },
      &quot;ecmaVersion&quot;: &quot;latest&quot;,
      &quot;sourceType&quot;: &quot;module&quot;
    },
    &quot;plugins&quot;: [&quot;react&quot;, &quot;@typescript-eslint&quot;],
    &quot;rules&quot;: {
      &quot;no-console&quot;: &quot;off&quot;
    }
  }
  </code></pre>
  <p>package.json</p>
  <pre><code>  &quot;devDependencies&quot;: {
      &quot;@babel/core&quot;: &quot;^7.16.5&quot;,
      &quot;@babel/preset-env&quot;: &quot;^7.16.5&quot;,
      &quot;@types/react-dom&quot;: &quot;^17.0.11&quot;,
      &quot;@types/react-router-dom&quot;: &quot;^5.3.2&quot;,
      &quot;@types/react-table&quot;: &quot;^7.7.9&quot;,
      &quot;@types/scrollmagic&quot;: &quot;^2.0.2&quot;,
      &quot;@types/styled-components&quot;: &quot;^5.1.21&quot;,
      &quot;@typescript-eslint/eslint-plugin&quot;: &quot;^5.14.0&quot;,
      &quot;@typescript-eslint/parser&quot;: &quot;^5.14.0&quot;,
      &quot;awesome-typescript-loader&quot;: &quot;^5.2.1&quot;,
      &quot;babel-loader&quot;: &quot;^8.2.3&quot;,
      &quot;eslint&quot;: &quot;^8.10.0&quot;,
      &quot;eslint-config-airbnb&quot;: &quot;^19.0.4&quot;,
      &quot;eslint-plugin-import&quot;: &quot;^2.25.4&quot;,
      &quot;eslint-plugin-jsx-a11y&quot;: &quot;^6.5.1&quot;,
      &quot;eslint-plugin-react&quot;: &quot;^7.29.3&quot;,
      &quot;eslint-plugin-react-hooks&quot;: &quot;^4.3.0&quot;,
      &quot;react-app-rewired&quot;: &quot;^2.2.1&quot;
    },
  </code></pre>