Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
Thanks for sharing the video and your logs, @kartikparmar.
The logs show that your sites.json file contains unexpected content. This is the file that Local uses to store your site data. Please could you share it with me via a direct message? (Click my profile photo, then click “message”.)
The sites.json file is showing empty. I have shared the same with you.
FYI, I have been facing this issue since 19th April 2024 when I shut my laptop after quite a long time, and then I switched it on again and the windows got updated to the version I shared earlier.
Since Local’s site data is missing (your sites themselves should still be on your hard disk — it’s just the sites.json file that is blank), you can try restoring sites in a couple of ways:
If you have a backup of your hard drive, you can try restoring that sites.json file to an earlier version.
If you don’t have a backup, you can try to recover your existing sites by following these steps: