Samir Are you sure you have installed rhe right version ? ie x86 for 32 bits Windows and x64 for 64 bits Windows ?
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 ?