You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[webpack-cli] Invalid options object. Dev Server has been initialized using an
options object that does not match the API schema.
- options has an unknown property 'running'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?,
historyApiFallback?, host?, hot?, ipc?, liveReload?, onListening?, open?, port?, proxy?,
server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }
Bug report
Actual Behavior
Using:
I get the following error:
I'm not using
running
at all in my config.Expected Behavior
It should work with webpack-cli v4.10.0 as the v5 migration documentation states that:
Note that I'm stuck with webpack-cli v4 because of webpack/webpack-cli#3559
How Do We Reproduce?
Basic repository repro: https://github.com/yvele/webpack-dev-server-repro
Note that upgrading webpack-cli fixes the problem:
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: