‘webpack-dev-server’ is not recognized as an internal or external npm Exception

‘webpack-dev-server’ is not recognized as an internal or external npm Exception

Exception:

‘webpack-dev-server’ is not recognized as an internal or external command, operable program or batch file.

Resolution:

Run the following command

npm install -g webpack-dev-server

This will install webpack-dev-server packages globally and resolves the issue.

Leave a Reply