Hugo - Zdoc theme requires extended version

By xngo on April 13, 2020

I was trying to use Zdoc theme for my Hugo website but when I ran it, it threw the following error message.

hugo server -D
Error: Error building site: TOCSS: failed to transform "main_parsed.scss" (text/x-scss): resource "scss/sass/main.scss_b4f67ac5085b89b62b54c1923e5a9145" not found in file cache

Solution

Go to https://github.com/gohugoio/hugo/releases and get the extended version of Hugo. I wasn't aware that Zdoc requires the extended version.

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.