-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
How to enable error display on browser sreen #522
Comments
If you use If you want to build this in your app, take a look at #542. |
I'm closing this issue because of inactivity. Feel free to comment, and we can always re-open it again. |
I don't see how the reference #542 suggest a solution for this issue. Unless I don't understand it correctly. |
create-react-app actually implemented exactly what you want two days ago: facebook/create-react-app#744. You could copy the code from there. |
you can add
|
Note that since v2.3.0, you can use |
overlay: true doesn't seem to do anything for me. Am I doing something wrong? "webpack-dev-server": "^2.9.2"
|
|
I have seen in rare occurrences. I thought it would be shown for all and any errors, but that doesn't seem to be the case. |
Ahh, it doesn't seem to capture runtime errors...? "Uncaught ReferenceError: x is not defined" etc... |
Can't capture runtime errors, what a big disappointment. |
That does not make sense, of course it should not capture runtime errors! |
For anyone with webpack 5.75.0 that is trying to enable / disable this feature:
|
I'd like to show script errors like the screenshot below. Is there a way to do it with webpack devserver
Here is my webpack config
Here is I start the dev server:
webpack-dev-server --inline --hot
The text was updated successfully, but these errors were encountered: