-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
When I execute ./node_modules/.bin/webpack --mode development I get the following error:
/Users/xxxxxxxxxxxxxxxxx/xxx/xxxx/xxxxxxxxxxxxxx/node_modules/webpack-browser-plugin/lib/index.js:154
if (compilation.compiler._plugins['watch-run']) {
^
TypeError: Cannot read property 'watch-run' of undefined
The only way I managed to make it work is by replacing
compilation.compiler._plugins['watch-run'] with
compilation.compiler.hooks['watch-run'].
These are the versions of the installed packages
› ./node_modules/.bin/webpack-dev-server --version
webpack-dev-server 3.1.4
webpack 4.12.0
Falieson, thunderkid, realcarbonneau, anusharma9462, kazelsama and 1 more
Metadata
Metadata
Assignees
Labels
No labels