KeyError: 'fonts' when running on Windows

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2021.1.4
Standard Standalone? (y/n) If not then what?: yes.
What are you trying to achieve?:
Run the task.
What did you try to make it work?:
Tried different Computers and PsychoPy Versions.
What specifically went wrong when you tried that?:
When I run the task the following output is created. No participant window or anything pops up.
The same task ran successful on Mac OS.

Traceback (most recent call last):
File “C:\Users\ep06\AppData\Roaming\psychopy3\versions\psychopy\visual\textbox2\”, line 609, in findFontFiles
for thisFolder in [Path(prefs.paths[‘fonts’]), Path(prefs.paths[‘resources’])]:
KeyError: ‘fonts’