Why is our project throwing an error.
AneeshKotvali1

Hi! Me and my friend are making a multiplayer chess. So, I was expecting that my project will produce a new tab and say, Chess at the top. however, it is throwing an error.

Can somebody help?

You are viewing a single comment. View All
Coder100

Replit runs index.js only in node repls. Do you mean to make it in a python repl? Or do you mean to use the bash language? (Node has terrible support for python, it is for js after all)

AneeshKotvali1

@Coder100, I basically want to use the socket io package to make servers for our chess game. If that's the case, then I think it should be a python repl.

Coder100

@AneeshKotvali1 as you may know the chess package can't exactly interact with the browser?

AneeshKotvali1

oh ok
@Coder100

Coder100

yeah, so you might have to rethink how you do things, either write it all in nodejs, or write it all in python for your backend, and make your own UI for frontend. @AneeshKotvali1