Can't build after installing new theme: Error building site: TOCSS: failed to transform "main_parsed.scss"

Hi, I had a blog with hermit theme. I recently removed and installed zzo.

I have removed my root config.toml file and am using config/_default/* files from the zzo just as described here: https://zzodocs.netlify.app/docs/configuration/configfiles/.

This is the error I am getting while building the site:

$ hugo server -D
Start building sites … 
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN 2020/09/06 16:53:38 found no layout file for "searchindex" for kind "page": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
Built in 1500 ms
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

Please suggest something.

1 Like

It seems you should be using Hugo extended. See: https://gohugo.io/troubleshooting/faq/#i-get-tocss--this-feature-is-not-available-in-your-current-hugo-version