Skip to content
← Back to Community
Why is our project throwing an error.
Profile icon
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?

Voters
Profile icon
AneeshKotvali1
Comments
hotnewtop
Profile icon
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)

Profile icon
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.

Profile icon
Coder100

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

Profile icon
AneeshKotvali1
Profile icon
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