Question:
How do i fix my code to start from line 1 instead of line 2. Im coding in python and for the last week i havent had any issues then today i realised that my code started from line 2 instead of 1. i tried everything from looking into the settings but i didnt find anything. Please help.
Hi @Dimo01 , welcome to the forums!
Can you try pressing CTRL+SHIFT+R to refresh the page and cache?
Or, try entering kill 1 in the Shell.
Hope this helps!
nope didnt work. I tried both methods. I downloaded replit on my phone to see if the issue still exists and it exists on my phone as well so i dont know what must have happened. It was fine before for an entire week.
this issue has been frustrating me the entire day and ive been searching everything i can to try and resolve it but i havent found anything and i have no idea what could cause this.
It appears to have also affected the go to line: feature too, if you go to line 1 it takes you to line 2, if you go to line 2 , it takes you to line 3.
or maybe the lines are technically still correct but just the numbers are wrong?
I’ve observed that this bug only happens when you reload after the server restarts. This means that most of the time, reloading the page doesn’t work, but it does if you kill 1 just before reloading. The bug seems to happen after focusing on the code.