Ask coding questions

← Back to all posts
meu projeto esta dando um erro
cirocaue

I'm trying to make a bot that plays music on the discord, when I start this error (repl process died unexpectedly)
Can someone help me? I'm not managing to fix

Answered by 19wintersp [earned 5 cycles]
View Answer
Voters
dnl777
cirocaue
Comments
hotnewtop
19wintersp

Replit expects the main file to be called "index.js", you've called it "musicBot.js". Either rename it, or create a file called ".replit" and add this:

cirocaue
Coder100

ez

create a .replit file and add this:

the error is that you must have the file be called index.js as the entry point or you can just configure the run button.

Coder100

That is the least important part of the error, is there *anything else you have?

Anayways, replit doesn't have the best support for music bots yet.

19wintersp

@Coder100 From the repl logs:

Coder100

thanks @19wintersp