webpack5 For using 'serve' command you need to install: 'webpack-dev-server' package code example Example: webpack-dev-server command not found npm install webpack-dev-server -g