The issue develops as a result of your system's excessive cache files, which can cause a variety of problems, including this one. Cleaning those cached files could remedy the problem, which can be done by following these steps:
- To open the Run dialogue, press the Win+R keys together.
- Click OK after typing 'WSReset.exe.'
- A blank, black window will appear, which will close after some time. If not, open Windows Store and try installing or updating apps now — it will work.