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.

react-scripts 3.3.0 / 3.3.1 -> [HMR] Waiting for update signal from WDS... in console (Edge not working still)

See original GitHub issue

Describe the bug

I am pretty new to React, so bear with me please. I tried setting up a new project in react and these are the default dependencies generated in package.json :

“react”: “^16.12.0”, “react-dom”: “^16.12.0”, “react-scripts”: “3.3.0”

After I run npm start I get a message in the console “[HMR] Waiting for update signal from WDS…”

The page still shows up and refreshes automatically whenever a change is made but it only works on Chrome and Mozilla.

For some reason Microsoft Edge doesn’t work anymore even though it did before

Did you try recovering your dependencies?

I tried going back to different versions of react or scripts and everything goes back to normal when I have : “react”: “^16.12.0”, “react-dom”: “^16.12.0”, “react-scripts”: “3.3.0-next.62”

Everything above "react-scripts": "3.3.0-next.62" gives the error in the console and Edge stops working.

Which terms did you search for in User Guide?

I tried npm run eject to configure the webpack.config but I am not really that experienced and couldn’t see a problem

Environment

System: OS: Windows 10 10.0.18363 CPU: (4) x64 Intel® Core™ i5-7500 CPU @ 3.40GHz Binaries: Node: 10.16.3 - C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: 6.13.3 - C:\Program Files\nodejs\npm.CMD Browsers: Edge: 44.18362.449.0 Internet Explorer: 11.0.18362.1 npmPackages: react: ^16.12.0 => 16.12.0 react-dom: ^16.12.0 => 16.12.0 react-scripts: 3.3.0 => 3.3.0 npmGlobalPackages: create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

  1. npx create-react-app [NAME]
  2. npm start
  3. open console in browser

Expected behavior

No message in console. Microsoft Edge to show page.

Actual behavior

Message in console. Blank Page in Edge.

Edge with react-script: 3.3.0:

image

Edge with react-scripts: 3.3.0-next.62:

image

Chrome with react-script: 3.3.0 :

image

Chrome with react-scripts: 3.3.0-next.62:

image

Reproducible demo

https://github.com/Dodobrat/react-scripts-error

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:20
  • Comments:32 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
jwandekokencommented, Dec 14, 2019

I’m also experiencing the issue, the message just sits there at the console, but everything seems to be working

5reactions
seanfishercommented, Jan 14, 2020

The one-liner temporary very hacky fix is to run the following in Git Bash:

sed --in-place -e "66a\    slashes: true," ./node_modules/react-dev-utils/webpackHotDevClient.js

This will add in slashes: true to line 66 of the ./node_modules/react-dev-utils/webpackHotDevClient.js file

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reactjs console error ([HMR] Waiting for update signal from ...
So the console message [HMR] Waiting for update signal from WDS... simply means the browser is listening for any changes from the Webpack...
Read more >
Reactjs console error ([HMR] Waiting for update signal from ...
So the console message [HMR] Waiting for update signal from WDS... simply means the browser is listening for any changes from the Webpack...
Read more >
How to Upgrade to React 18
In this post, we will guide you through the steps for upgrading to React 18. Please report any issues you encounter while upgrading...
Read more >
React Developer Tools - Props not updating in Chrome
The problem is when I do this, it does not update in the chrome browser. ... comments on the “[HMR] Waiting for update...
Read more >
react-scripts - npm
Configuration and scripts for Create React App.. ... Start using react-scripts in your project by running `npm i react-scripts`.
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