title: React application npm error code ELIFECYCLE
body: <p>Getting below in my react application. I have tried reinstallation of node_module, setting
  environment variable C:\Windows\System32</p>
  <p><div class="snippet" data-lang="js" data-hide="true" data-console="false" data-babel="true">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
    "name": "my_app",
    "version": "0.1.0",
    "private": true,
    "dependencies": {
      "@testing-library/jest-dom": "^4.2.4",
      "@testing-library/react": "^9.5.0",
      "@testing-library/user-event": "^7.2.1",
      "bootstrap": "^4.5.2",
      "bootstrap-social": "^5.1.1",
      "font-awesome": "^4.7.0",
      "react": "^16.13.1",
      "react-dom": "^16.13.1",
      "react-popper": "^2.2.3",
      "react-redux": "^7.2.1",
      "react-router-dom": "^5.2.0",
      "react-scripts": "3.4.1",
      "reactstrap": "^8.5.1",
      "redux": "^4.0.5"
    },
    "scripts": {
      "start": "react-scripts start",
      "build": "react-scripts build",
      "test": "react-scripts test",
      "eject": "react-scripts eject"
    },
    "eslintConfig": {
      "extends": "react-app"
    },
    "browserslist": {
      "production": [
        "&gt;0.2%",
        "not dead",
        "not op_mini all"
      ],
      "development": [
        "last 1 chrome version",
        "last 1 firefox version",
        "last 1 safari version"
      ]
    },
    "description": "This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).",
    "devDependencies": {
      "@babel/core": "^7.4.0",
      "@babel/preset-env": "^7.4.2",
      "@babel/preset-react": "^7.0.0",
      "babel-loader": "^8.0.5",
      "css-loader": "^2.1.1",
      "html-loader": "^0.5.5",
      "html-webpack-plugin": "^3.2.0",
      "lite-server": "^2.5.4",
      "react": "^16.8.5",
      "react-dom": "^16.8.5",
      "style-loader": "^0.23.1",
      "webpack": "^4.42.0",
      "webpack-cli": "^3.3.0",
      "webpack-dev-server": "^3.2.1"
    }
  }</code></pre>
  </div>
  </div>
  </p>
  <p>this.htmlWebpackPlugin.getHooks is not a function
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! my_app@0.1.0 start: <code>react-scripts start</code>
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the my_app@0.1.0 start script.
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.</p>
  <p>npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\User\AppData\Roaming\npm-cache_logs\2020-08-13T02_51_42_849Z-debug.log</p>