Ask coding questions

← Back to all posts
Error using .replit file
BotDeveloperDS

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?

Voters
BotDeveloperDS
Comments
hotnewtop
InvisibleOne

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

BotDeveloperDS

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

InvisibleOne

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