<p dir="auto">I'm getting <code class="notranslate">TypeError: cli.isMultipleCompiler </code>is not a function when running an app via docker. The node modules are installed, I'm using</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;webpack&quot;: &quot;5.72.1&quot;,
&quot;webpack-cli&quot;: &quot;4.9.2&quot;,
&quot;webpack-dev-server&quot;: &quot;4.8.0&quot;"><pre class="notranslate"><code class="notranslate">"webpack": "5.72.1",
"webpack-cli": "4.9.2",
"webpack-dev-server": "4.8.0"
</code></pre></div>
<p dir="auto">Any ideas what could be causing it?</p>
<p dir="auto">Here's the full error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
shared             |     at Command.&lt;anonymous&gt; (/app/node_modules/@webpack-cli/serve/lib/index.js:146:35)
shared             |     at async Promise.all (index 1)
shared             |     at async Command.&lt;anonymous&gt; (/app/node_modules/webpack-cli/lib/webpack-cli.js:1674:7)"><pre class="notranslate"><code class="notranslate">[webpack-cli] TypeError: cli.isMultipleCompiler is not a function
shared             |     at Command.&lt;anonymous&gt; (/app/node_modules/@webpack-cli/serve/lib/index.js:146:35)
shared             |     at async Promise.all (index 1)
shared             |     at async Command.&lt;anonymous&gt; (/app/node_modules/webpack-cli/lib/webpack-cli.js:1674:7)
</code></pre></div>
<p dir="auto"><strong>Describe the bug</strong></p>
<p dir="auto">@webpack-cli/serve 1.7.0： cli.isMultipleCompiler is not a function</p>
<p dir="auto">isMultipleCompiler is add in 1.7.0</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/16102900/173278504-30c84149-2e3f-4d4f-9503-a293928b44d0.png"><img src="https://user-images.githubusercontent.com/16102900/173278504-30c84149-2e3f-4d4f-9503-a293928b44d0.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">code in v1.6.1</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const compilers = typeof compiler.compilers !== &quot;undefined&quot; ? compiler.compilers : [compiler];"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">compilers</span> <span class="pl-c1">=</span> <span class="pl-k">typeof</span> <span class="pl-s1">compiler</span><span class="pl-kos">.</span><span class="pl-c1">compilers</span> <span class="pl-c1">!==</span> <span class="pl-s">"undefined"</span> ? <span class="pl-s1">compiler</span><span class="pl-kos">.</span><span class="pl-c1">compilers</span> : <span class="pl-kos">[</span><span class="pl-s1">compiler</span><span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">should be <code class="notranslate">cli.isMultipleCompiler?.(compiler)</code> ?</p>