A Javascript error occurred in the main proccess

After database fails to connect, I restarted Local and eventually closed local. On starting again, I received the error, "A Javascript error occurred in the main process.
Uncaught Exeption :
TypeError: Cannot use ‘in’ operation to search for ‘name’ in.

Anyone please Help.
Have downloaded recent update same issue.
Windows 10,

Found a solution but I might have caused more harm.
The sites.json was corrupted. Delete if you face same issue but make sure you save the site-status.json as you will be able to recreate from this file the sites IDs