-
-
Notifications
You must be signed in to change notification settings - Fork 27k
The development server has disconnected error in webpackHotDevClient.js #11743
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
Comments
maybe the terminal you started the server might have terminated or exited the process. |
@haneenmahd No it's not. The error points to the file
|
I'm having this issue too, and I've been searching for a few hours trying to figure it out. This is my first CRA project, and I'm trying to learn, so it's entirely possible that I've messed something up. But I'd sure like to fix it. I'm still unclear of the role of the dev server; however, I notice that the changes I make (to code) in the ~60 seconds before the connection times out automatically update in the browser until the timeout; afterwards, I have to refresh the browser. I'd like to figure out how to keep this connection alive, so I don't have to keep refreshing while I develop. My project resides behind an Nginx reverse proxy. Accordingly, I tried the solution in 8203 regarding proxy_send_timeout and proxy_read_timeout, but I have noticed no effect. For behavior comparison, I compared my app to the Unifi controller (it was just the first web app I could think of that I knew used WS), and I notice that the working app seems to trigger a connection refresh prior to the timeout whereas my app just times out and the connection dies. |
I'm getting this error message in my app created using CRA.
here are the dependencies in my project
The text was updated successfully, but these errors were encountered: