Asking for .replit file when there already is one

Every time I create a new repl from a GitHub repo I get the error “Run isn’t configured. Try adding a .replit and configuring it…" when I clearly have a .replit file. What’s even more strange is that if I delete the .replit file then recreate it with the exact same text inside of it, the repl works… wth. There’s clearly a bug here, please help.

For reference, here’s the GitHub repo I’m using, it has a button “Run on Replit” that I’m using: GitHub - Lumiwealth-Strategies/crypto_custom_etf

update: it seems that refreshing the page makes it work. wtf? is it just me?

1 Like

Refreshing would help. That may be because Replit hadn’t finished reading the .replit file.
If this happens again, try adding the line run = "python main.py" above the entrypoint line.
Hope this helps!

2 Likes

That worked! THANK YOU!

Please mark @NateDhaliwal’s post as the solution.

Seems like that was done for me already. Thanks for the reminder

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.