webpack-cli@3.0.8 requires a peer of webpack@^4.x.x but none is installed : <p>Having a little trouble with React. Does anyone know how I can install the peer of webpack@^4.x.x? </p>

<p>This is the error I am recieving when I try to run  </p>

<pre><code>webpack-dev-server
</code></pre>

<p>in cmd. It just returns </p>

<pre><code>webpack-cli@3.0.8 requires a peer of webpack@^4.x.x but none is installed. You must install peer dependencies yourself.
</code></pre>
