Troubleshooting AzureSWA

Troubleshooting Azure Static Websites and Hugo

I’m setting up a blog! I wanted to try out the build process from github to Azure where I don’t do any of the release side. I dutifully followed the Azure tutorial on publishing from Hugo, but kept getting the error:

Error: module "Blackburn" not found; either add it as a Hugo Module or store it in "/github/workspace/themes".: module does not exist


---End of Oryx build logs---
Oryx has failed to build the solution.

I tried moving the blackburn theme all over the place! I am using a triangular workflow to fetch updates from the main blackburn repo, but push commits all go to my fork. Thought that maybe that was the issue and changed it. No joy.

I also tried getting rid of the git portions/submodule entirely and just having the folder. Still no joy.

I finally figured it out. Uuugh, so much time.

-theme = "Blackburn"
+theme = "blackburn"

Yup, my config said that the theme name was Blackburn, but the actual folder in my file system was blackburn. Oops!

Call this another anecdote in the “Stuff with the same name is the same name and I hate that linux made the choice to think otherwise” pile.