title: Troubleshooting webpack dev server cli errors
body: <p>running 'npx webpack server' on a successfully build webpack bundle, the output when an error occurs does not tell me much (Error: 'wrong tag' deep inside the webpack dev server code), where do you look to see more info/details? Here is the output:</p>
  <blockquote>
  <p>npx webpack serve</p>
  </blockquote>
  <pre><code>(node:31820) [DEP_WEBPACK_DEV_SERVER_HTTPS] DeprecationWarning: 'https' option is deprecated. Please use the 'server' option.
  (Use `node --trace-deprecation ...` to show where the warning was created)
  &lt;i&gt; [webpack-dev-server] SSL certificate: C:\Code\pl-security-audit-hub\PrecisionLender.SecurityAuditHub.API\ClientApp\node_modules\.cache\webpack-dev-server\server.pem
  &lt;w&gt; [webpack-dev-server] &quot;hot: true&quot; automatically applies HMR plugin, you don't have to add it manually to your webpack configuration.
  &lt;i&gt; [webpack-dev-server] [HPM] Proxy created: **  -&gt; https://localhost:5510
  [webpack-cli] Error: wrong tag
      at Object.createSecureContext (_tls_common.js:271:19)
      at Server.setSecureContext (_tls_wrap.js:1331:27)
      at Server (_tls_wrap.js:1186:8)
      at new Server (https.js:70:3)
      at Object.createServer (https.js:106:10)
      at Server.createServer (C:\Code\pl-security-audit-hub\PrecisionLender.SecurityAuditHub.API\ClientApp\node_modules\webpack-dev-server\lib\Server.js:1606:53)
      at Server.initialize (C:\Code\pl-security-audit-hub\PrecisionLender.SecurityAuditHub.API\ClientApp\node_modules\webpack-dev-server\lib\Server.js:1165:10)
      at Server.start (C:\Code\pl-security-audit-hub\PrecisionLender.SecurityAuditHub.API\ClientApp\node_modules\webpack-dev-server\lib\Server.js:2177:16)
      at async Command.&lt;anonymous&gt; (C:\Code\pl-security-audit-hub\PrecisionLender.SecurityAuditHub.API\ClientApp\node_modules\@webpack-cli\serve\lib\index.js:242:25)
      at async Promise.all (index 1)
  </code></pre>