# App is just a white box, UI not appearing / looking weird

Nighty relies on WebView2 technology to display its Graphical User Interface (GUI). If you encounter an issue where the app is just a white box, and/or the UI is not appearing/looking weird, follow these steps to troubleshoot and resolve the problem.

### Installing WebView2

Nighty requires *Microsoft WebView2*. If it is not installed on your computer or Virtual Private Server, follow these steps:

1. Download the [Evergreen Standalone Installer X64 (click)](https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/dad8096c-1b0c-40c5-9b1c-415164028ec9/MicrosoftEdgeWebView2RuntimeInstallerX64.exe).
2. Install the downloaded installer.
3. Reboot your PC or server.
4. Try running Nighty again.

If the issue persists, it may be due to an incorrect version of WebView2 installed. Follow the steps below to fix this:

#### Verifying and Installing the Correct WebView Version

1. Open PowerShell as an administrator.
   1. Press the Windows key.
   2. Search for "Windows PowerShell."
   3. Right-click on "Windows PowerShell" and select "Open as administrator."
2. Paste the following command into the PowerShell terminal and press Enter.\
   `cd C:\Program Files (x86)\Microsoft\EdgeWebView\Application\1*\Installer`\
   \
   If you got an error, try executing this command instead:\
   `cd C:\Program Files\Microsoft\EdgeWebView\Application\1*\Installer`
3. After that, paste the following command and press Enter:\
   `.\setup.exe --uninstall --msedgewebview --system-level --verbose-logging --force-uninstall`
4. Reboot your PC.
5. Install the correct version of WebView2 by following the steps mentioned in the [Installing WebView 2 section](#installing-webview-2) above.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nighty.one/troubleshooting/app-is-just-a-white-box-ui-not-appearing-looking-weird.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
