Skip to content
Sign upLog in
Profile icon

mido7778

@mido7778
Repls
Community
mido7778
mido7778
shared a Post
2 years ago
2
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 a
Coder100
Coder100
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: image src/index.js if you will.2 years ago
SameeraMurthy
SameeraMurthy
Solution 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. In src/index.js, on line 5, delete import * as serviceWorker from './serviceWorker'; This is because the file ./serviceWorker doesn't exist. Hope this helps.2 years ago