title: Module not found: Error: Can't resolve '/node_modules/html-webpack-plugin/lib/loader.js'
body: <p>I'm a Java developer working on a react prototype and everything was going well until I installed Font Awesome and started getting this error saying <code>Error: Can't resolve '/node_modules/html-webpack-plugin/lib/loader.js'</code>. I've deleted the node_modules folder but the issue still persists. Most answers suggest me to upgrade my node version, which we cannot do to be able to run our other projects that only goes up to node 14.
  There are other answers talking about a webpack.config file. I didn't seem to have this file anywhere (even when I yarn install it). I've I've tried to manually add it with some of the suggested fixes but haven't noticed any difference.</p>
  <p><a href="https://i.stack.imgur.com/kounJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kounJ.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/JtLIo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JtLIo.png" alt="enter image description here" /></a></p>
  <pre><code>{
    &quot;name&quot;: &quot;mandarinblueprint&quot;,
    &quot;version&quot;: &quot;0.1.0&quot;,
    &quot;private&quot;: true,
    &quot;dependencies&quot;: {
      &quot;@testing-library/jest-dom&quot;: &quot;^5.16.2&quot;,
      &quot;@testing-library/react&quot;: &quot;^12.1.4&quot;,
      &quot;@testing-library/user-event&quot;: &quot;^13.5.0&quot;,
      &quot;axios&quot;: &quot;^0.26.1&quot;,
      &quot;bootstrap&quot;: &quot;^5.1.3&quot;,
      &quot;react&quot;: &quot;^17.0.2&quot;,
      &quot;react-bootstrap&quot;: &quot;^2.2.2&quot;,
      &quot;react-dom&quot;: &quot;^17.0.2&quot;,
      &quot;react-scripts&quot;: &quot;5.0.0&quot;,
      &quot;web-vitals&quot;: &quot;^2.1.4&quot;
    },
    &quot;scripts&quot;: {
      &quot;start&quot;: &quot;react-scripts start&quot;,
      &quot;build&quot;: &quot;react-scripts build&quot;,
      &quot;test&quot;: &quot;react-scripts test&quot;,
      &quot;eject&quot;: &quot;react-scripts eject&quot;
    },
    &quot;eslintConfig&quot;: {
      &quot;extends&quot;: [
        &quot;react-app&quot;,
        &quot;react-app/jest&quot;
      ]
    },
    &quot;browserslist&quot;: {
      &quot;production&quot;: [
        &quot;&gt;0.2%&quot;,
        &quot;not dead&quot;,
        &quot;not op_mini all&quot;
      ],
      &quot;development&quot;: [
        &quot;last 1 chrome version&quot;,
        &quot;last 1 firefox version&quot;,
        &quot;last 1 safari version&quot;
      ]
    },
    &quot;devDependencies&quot;: {
      &quot;html-webpack-plugin&quot;: &quot;^5.5.0&quot;
    }
  }
  </code></pre>
  <p>Thank you.</p>