title: TypeError: Cannot read property 'tapAsync' of undefined
body: <pre><code>&quot;webpack&quot;: &quot;^4.46.0&quot;,
  &quot;webpack-cli&quot;: &quot;^3.3.12&quot;,
  </code></pre>
  <p>I changed webpack to the above version and getting this error.</p>
  <pre><code>clean-webpack-plugin: /home/itrus/react/living_goods/build has been removed.
  TypeError: Cannot read property 'tapAsync' of undefined
  </code></pre>
  <p>Stuck in this for a while. Any help will be appreciated. Thanks.</p>
  <p>I changed webpack version cause i got the below error initially when removed <strong>node_modules</strong> folder and tried reinstalling it again.</p>
  <blockquote>
  <p>webpack cli Cannot read property 'properties' of undefined</p>
  </blockquote>