\'Github\' asked me to update \'webpack-dev-server\' to version 3.1.11 or higher for security reasons.
However, \'npm run dev\' will not run after the update.
webpack core team says that form version 3+ the compatibility will foucs on webpack 4
so I think you need also to update webpack 3 to webpack 4
this doc may help you to achieve that https://webpack.js.org/migrate/4