ReactJS - Couldn't reach repl
When I run my ReactJS repl, the section that displays the HTML result say
Hmmmm.... We Couldn't Reach Your Repl Make sure your repl has a port open and is ready to receive HTTP traffic.
You just have a small problem.
You must have accidentally deleted
serviceWorker.js or something, because that usually comes with the repl.
No worries, serviceWorkers only speed up initial load times, it's not super big of a deal if it doesn't exist, many websites don't.
Remove this line:
src/index.js if you will.
You need to wait a few moments for React to start up.
Wait till it says "Compiled Successfully!" in the console.
Don't forget to press the refresh button after you do this.
src/index.js, on line 5, delete
import * as serviceWorker from './serviceWorker';
This is because the file
./serviceWorker doesn't exist.
Hope this helps.