New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make webpack dev server run with current version #11658
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @MoonE. In addition to the change you already made, it would be good to run
npm uninstall --save-dev webpack-dev-server
and commit and push the resulting changes in package.json
and package-lock.json
.
It won't run without webpack-dev-server installed. i guess they only changed how it is started.
Below is the error I get with the current main branch:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the explanations, @MoonE.
boilerplate@1.0.0 dev-server ode:internal/modules/cjs/loader:943 rror: Cannot find module 'webpack-cli/bin/config-yargs' /***** Specification *******/ "webpack": "^5.35.1" |
hi ! i was creating custom Dev-server for my project so this type error occurs .. Please tell me solution for this bug |
I come from this issue: webpack/webpack-dev-server#2029 (comment) Still, webpack-dev-server does not work with webpack-cli v4.x Downgrade webpack-cli to v3.x
|
webpack-dev-server seems to be no longer available.
webpack/webpack-dev-server#2029 (comment)