Modules: Error: File does not exist

A couple other things I realized I should mention:

  • Branch master of Midnight is not configured as a module yet and that is what hugo mod will download by default. In my testing that got these errors, I had the website configured to use the local version.
  • One thing that could be messing things up - but hasn’t in the past - is that I locally replace the themes/ folder in the site with a symbolic link to ../themes so that I can share a themes folder among multiple sites without having to remember to pass the --themesDir flag. It makes it easier to test changes on multiple sites at once.