How to fix webpack-dev-server not found

Posted . Visible to the public.

The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error message.

$ bin/webpack-dev-server                                                                  
yarn run v1.19.1
error Command "webpack-dev-server" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Run yarn install --check-files to fix this error.

Last edit
Besprechungs-PC
License
Source code in this card is licensed under the MIT License.
Posted by Emanuel to makandra dev (2019-10-24 11:29)