Ask coding questions

← Back to all posts
Error using .replit file
BotDeveloperDS (0)

Hi, I cloned a repo from my GitHub account. I wrote the .replit file but after that I tried to run my command in the console but I get this error. Can you help me?

Comments
hotnewtop
InvisibleOne (2988)

Run should be pointing to the file you want it to run, like: run = "main.py" or something.

BotDeveloperDS (0)

@InvisibleOne it’s not working even if I put my file name…

InvisibleOne (2988)

Try making it run = "python3 bot.py" @BotDeveloperDS