I’m able to reproduce this by using the example site of the hugo-coder theme.
I get the error on my Windows 10 laptop, but not on my MacBook. Let me know if you need more info.
Hugo version
Hugo Static Site Generator v0.52/extended windows/amd64 BuildDate: unknown
Steps to reproduce
git clone https://github.com/luizdepra/hugo-coder.git
cd hugo-coder\exampleSite
hugo --themesDir ../..
Error received
Error: failed to create file caches from configuration: file exists