title: Error: Cannot find module 'browserslist' when I run the npm run build
body: <p>I'm using latest version of react-scripts npm package i.e. 4.0.3 in my react project and it has a vulnerabilities with one of his dependency package called browserslist, I was trying to resolve this vulnerability by adding this package under the resolutions section in my package.json file. I tried to override the package version with the help of preinstall command <strong>npx npm-force-resolutions</strong>  and it will install the version we specified under the resolutions.
  My package.json file will be</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>{
    "name": "test",
    "version": "1.0.0",
    "description": "",
    "main": "index.js",
    "scripts": {
      "start": "react-scripts start",
      "preinstall": "npx npm-force-resolutions",
      "build": "react-scripts build"
    },
    "author": "",
    "license": "ISC",
    "dependencies": {
      "react-scripts": "^4.0.3"
    },
    "resolutions": {
      "browserslist": "4.16.6"
    }
  }</code></pre>
  </div>
  </div>
  </p>
  <ol>
  <li><p>When I run the <strong>npm install</strong> the preinstall script will run and it will installing the browserslist package version after that I tried to check the list available vulnerabilities with <strong>npm audit</strong> command and I got 0 vulnerabilities.
  Refer <a href="https://i.stack.imgur.com/cp1Sf.png" rel="nofollow noreferrer">https://i.stack.imgur.com/cp1Sf.png</a> to install command view.
  Refer <a href="https://i.stack.imgur.com/8dLJz.png" rel="nofollow noreferrer">https://i.stack.imgur.com/8dLJz.png</a> to audit command view</p>
  </li>
  <li><p>After that I tried to run the <strong>npm run build</strong> command and it will took build script from my package.json file. The build is failing with following error.
  Refer <a href="https://i.stack.imgur.com/Lt3OE.png" rel="nofollow noreferrer">https://i.stack.imgur.com/Lt3OE.png</a> to build command view</p>
  </li>
  </ol>
  <p>I did lot of research on this from past 2 weeks but no luck at all. I'm definitely missing something after this. It would be great if anyone can help me on this it will be really appreciate.</p>