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
There is an error in the console during starting dev server:
(node:8289) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'level' of undefined
at /Users/sergey/work/my/js/webpack-dev-server-proxy-issue/node_modules/webpack-dev-server/lib/Server.js:203:57
at Array.map (<anonymous>)
at Server.setupProxyFeature (/Users/sergey/work/my/js/webpack-dev-server-proxy-issue/node_modules/webpack-dev-server/lib/Server.js:169:62)
at Object.proxy (/Users/sergey/work/my/js/webpack-dev-server-proxy-issue/node_modules/webpack-dev-server/lib/Server.js:369:16)
at /Users/sergey/work/my/js/webpack-dev-server-proxy-issue/node_modules/webpack-dev-server/lib/Server.js:449:24
at Array.forEach (<anonymous>)
at Server.setupFeatures (/Users/sergey/work/my/js/webpack-dev-server-proxy-issue/node_modules/webpack-dev-server/lib/Server.js:448:22)
at new Server (/Users/sergey/work/my/js/webpack-dev-server-proxy-issue/node_modules/webpack-dev-server/lib/Server.js:68:10)
at /Users/sergey/work/my/js/webpack-dev-server-proxy-issue/node_modules/@webpack-cli/serve/lib/startDevServer.js:34:24
at Array.forEach (<anonymous>)
For Bugs; How can we reproduce the behavior?
chekcout this repo [email protected]:sprilukin/webpack-dev-server-beta4-proxy-issue.git
npm install && npm run start
Here is the piece of code where exception is actually thrown:
OSX 10.14.6
v14.15.1
6.14.8
5.9.0
v4.0.0-beta.0
Code
checkout repo:
[email protected]:sprilukin/webpack-dev-server-beta4-proxy-issue.git
or use these code snippets:
Expected Behavior
dev server started successfully
Actual Behavior
There is an error in the console during starting dev server:
For Bugs; How can we reproduce the behavior?
[email protected]:sprilukin/webpack-dev-server-beta4-proxy-issue.git
npm install && npm run start
Here is the piece of code where exception is actually thrown:
Here
this.compiler.options
is an Array, not an Object in case of multiple webpack config env.The text was updated successfully, but these errors were encountered: