Skip to content
ReactJS - Couldn't reach repl
Profile icon
mido7778

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.

why??

You are viewing a single comment. View All
Answered by Coder100 [earned 5 cycles]
View Answer
Profile icon
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.

Profile icon
mido7778

@SameeraMurthy

Thanks dude.