Closed
Description
Describe the bug
The app displays a blank page for the first time in localhost, only when I refresh I got the page displayed.
Did you try recovering your dependencies?
I upgraded react-scripts from v3.4.3 to v4.0.3. I deleted the node_modules and package-lock.json and run npm install but I got the same issue.
I added homepage:'.'
to package.json but didn't fix the issue too.
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
Environment
current version of create-react-app: 4.0.3
System:
OS: Windows 10 10.0.19042
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 14.15.5 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.14.11 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.19041.423.0), Chromium (89.0.774.63)
Internet Explorer: 11.0.19041.1
npmPackages:
react: 17.0.2 => 17.0.2
react-dom: 17.0.2 => 17.0.2
react-scripts: ^4.0.3 => 4.0.3
npmGlobalPackages:
create-react-app: Not Found
Expected behavior
The page should be displayed automatically with reloading it at first time.
Actual behavior
The page is blank at the first launch and I only got this message in the browser console:
[HMR] Waiting for update signal from WDS...