question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Options has an unknown property 'before'

See original GitHub issue

Seems overlay doesn’t work with latest webpack-dev-server v4.1.0.

Error:

 - options has an unknown property 'before'. These properties are valid:
   object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, setupExitSignals?, static?, watchFiles?, webSocketServer? }

this line is broken: https://github.com/gregberge/error-overlay-webpack-plugin/blob/6e627654d3f824e46710b31b1b3bbc361bbd441e/src/index.js#L27

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
MichaelKheelcommented, Nov 29, 2021

Guys, please make a merge.

4reactions
milosivanoviccommented, Oct 7, 2021

Hello! I posted a fix (https://github.com/gregberge/error-overlay-webpack-plugin/pull/88) for this issue a week ago. @gregberge and @thedavidprice are you able to take a look?

Read more comments on GitHub >

github_iconTop Results From Across the Web

when i update to webpack5, there is a error: configuration has ...
configuration has an unknown property 'before'. These properties are valid: object { bonjour?, client?, compress?, dev?, firewall?, ...
Read more >
options has an unknown property 'overlay' - You.com - You.com
options has an unknown property 'before'. These properties are valid: object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, ...
Read more >
Setting up the Webpack Dev Server - Three.js Tutorials
The Webpack Development Server has several features that make development an easier process. ... options has an unknown property 'contentBase'. etc .
Read more >
Some fixes of Webpack errors - Deni Apps
Terser Plugin has been initialized using an options object that does not match the API schema. - options has an unknown property 'sourceMap' ......
Read more >
Invalid `transportMode` in frontend-build package - Tips & Tricks
1% setup initialize[webpack-cli] Invalid options object. Dev Server has been ... options has an unknown property 'transportMode'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found