Hugo build error: Error building site: TOCSS: failed to transform "scss/style.scss" (text/x-scss)

This started happening on my nightly builds starting on the 28th and any subsequent commits to my GitHub repo to https://unrivaled-sawine-ed32a6.netlify.app/

Literally nothing had changed, so I’m not sure what is going on here.

6:06:54 PM: Start building sites … 6:06:54 PM: hugo v0.85.0-724D5DB5 linux/amd64 BuildDate=2021-07-05T10:46:28Z VendorInfo=gohugoio 6:06:59 PM: Error: Error building site: TOCSS: failed to transform "scss/style.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS. 6:06:59 PM: Total in 5416 ms 6:06:59 PM: ​ 6:06:59 PM: ──────────────────────────────────────────────────────────────── 6:06:59 PM: "build.command" failed 6:06:59 PM: ──────────────────────────────────────────────────────────────── 6:06:59 PM: ​ 6:06:59 PM: Error message 6:06:59 PM: Command failed with exit code 255: hugo (https://ntl.fyi/exit-code-255) 6:06:59 PM: ​ 6:06:59 PM: Error location 6:06:59 PM: In Build command from Netlify app: 6:06:59 PM: hugo 6:06:59 PM: ​ 6:06:59 PM: Resolved config 6:06:59 PM: build: 6:06:59 PM: command: hugo 6:06:59 PM: commandOrigin: ui 6:06:59 PM: environment: 6:06:59 PM: - NETLIFY_GRAPH_TOKEN 6:06:59 PM: - ONEGRAPH_AUTHLIFY_TOKEN 6:06:59 PM: publish: /opt/build/repo/public 6:06:59 PM: publishOrigin: ui

Build settings:
image

Build log:

This is from the last successful build on the 28th:
12:45:28 AM: hugo v0.85.0-724D5DB5+extended linux/amd64 BuildDate=2021-07-05T10:46:28Z vendorInfo=gohugoio

This is from the last failed build:
8:26:04 PM: hugo v0.85.0-724D5DB5 linux/amd64 BuildDate=2021-07-05T10:46:28Z VendorInfo=gohugoio

Did someone turn off extended? How do I get it back on?

Hey @Rivetgeek :wave:

A recent poster had the same issue with the same version of Hugo as you. Although counter-intuitive, they set the version to that without extended, and the extended version was used :confused:

Read here

Thank you! That seemed to fix it.