Module cache

I assume :resourceDir is its default resources, which is relative to the project. This does not work for the module cache (or, you need to set an absolute path) – the validation error comes from Go and is clear enough.

I strongly suggest you keep the modules cache outside of your project. I use the default setting and just set the HUGO_CACHEDIR env variable on my PC/serfver.

1 Like