Skip to content
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

why do i get this message in the console when i refresh The development server has disconnected. Refresh the page if necessary #11652

Open
Johnnycapreano opened this issue Nov 14, 2021 · 1 comment
Labels

Comments

@Johnnycapreano
Copy link

Johnnycapreano commented Nov 14, 2021

i was reading from a book on react all i did is use the command create-react-app to followed by the app name to create the app i used the command yarn start to run my app i added this code to my app.js file `` <div
className="Example"
style={{ background: "white", color: "white" }}
onClick={() => alert('hello')}>

`` when i run i get redirected to page on localhost 3000 i have white screen all in my console is this message`` [HMR] Waiting for update signal from WDS... `` when i refresh to see the changes i made to app.js file i get this message in the console``` The development server has disconnected. Refresh the page if necessary.``` and still nothing on the screen how do i fix that ![Screenshot (51)](https://user-images.githubusercontent.com/74734400/141701818-a80489a3-df6a-4c93-9ac0-6a64d47ce111.png)
@Johnnycapreano Johnnycapreano changed the title why do i get this massage in the console when i refresh The development server has disconnected. Refresh the page if necessary why do i get this message in the console when i refresh The development server has disconnected. Refresh the page if necessary Nov 14, 2021
@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant