Answers for "Error: Cannot find module 'webpack-dev-server/bin/cli-flags'"

8

Error: Cannot find module 'webpack-cli/bin/config-yargs'

For webpack-cli 3.x:
"scripts": {
  "start:dev": "webpack-dev-server --mode=development"
}

For webpack-cli 4.x:
"scripts": {
  "start:dev": "webpack serve --mode=development"
}
Posted by: Guest on January-23-2021
0

Error: Cannot find module 'webpack-dev-server'

npm install --save-dev webpack-dev-middleware webpack-hot-middleware
Posted by: Guest on May-09-2020

Code answers related to "Error: Cannot find module 'webpack-dev-server/bin/cli-flags'"

Code answers related to "Javascript"

Browse Popular Code Answers by Language