\'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.
For some reason the webpack team changed the command to webpack serve Change your package.json:
webpack serve
"start": "webpack serve"
Ref: https://github.com/webpack/webpack-dev-server/issues/2759
The version I am using:
"webpack": "^5.10.0", "webpack-cli": "^4.2.0", "webpack-dev-server": "^3.11.0"