Samir This kind of error should not be darkmode related. Do you have installed the Microsoft Webview2 component ? It's needed Hen using Webview widget
Samir Very strange behaviour What version of Windows do you have ? What is your antivirus ? Do you have other Lua related staff installed ? Can you post a screenshot of the error message ?