-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Development Server doesn't load the app without React Dev Tools browser plugin installed #10500
Comments
Turns out this was reported already (surprise, surprise), albeit in a non-standard way, and has gone quiet with a solution that actually causes the issue to appear now. Right now this issue comes away as soon as React Dev Tools (currently 4.10.1 (12/4/2020)) is installed. |
Any suggestions for fixing this when the app is running in electron? I use electron-devtools-installer and it successfully starts and installs, but apparently that's not enough. |
I had a similar issue while testing my web app in Browserstack. Switching off fast refresh worked for me. // env.local
FAST_REFRESH=false |
Doesn't work for me. I am 100% sure the env.local flags are picked up, as I have more in there that work perfectly fine. So that ain't the issue for me. Fast refresh is still being loaded and it's still breaking the site in the same way. Ergo, this trick doesn't work (although it's good to know it does for your specific scenario). |
Describe the bug
Development server doesn't serve the app landing page without React Dev Tools installed limiting development to browsers with React Dev Tools plugins. However useful, there's nothing in the docs that mention React Dev Tools requirement.
Did you try recovering your dependencies?
Yep, no luck.
Note
npm
isn't laetest.[email protected]
comes with[email protected]
by default, but problem occurs with latestyarn
anyway so this is likely caused internally.Which terms did you search for in User Guide?
Environment
Steps to reproduce
npx create-react-app my-app
npm start
oryarn start
Expected behavior
CRA Landing Page is visible at http://localhost:3000
Actual behavior
http://localhost:3000 serves a blank page with the following error:
Looking at you, react-refresh-webpack-plugin.
Reproducible demo
No live demo I'm afraid, but reproduction takes very little time.
The text was updated successfully, but these errors were encountered: