Full Error - failed to transform resource: TOCSS: failed to transform "style.sass" (text/x-sass):
this feature is not available in your current Hugo version
Not sure where to start here - is it a problem with the theme or with my installation? (guessing PIPES for sass files but not sure where to start looking)
I’m at my wits end. I get the this error:
… failed to transform resource: TOCSS: failed to transform “scss/main.scss” (text/x-scss): this feature is not available in your current Hugo version…
I read all the blogs and I have the extended version (I think):
$ hugo version
Hugo Static Site Generator v0.53/extended darwin/amd64 BuildDate: unknown
and I did the “?npm install -g postcss-cli” and all their variations, -D, sudo, …
but I keep having the problem
What does work is:
{{ $styles := resources.Get “scss/main.scss”}}
What is the EXACT error message AFTER you change the folder to sass? (At least your version paste confirmed that you have extended installed. So this is not the issue here.)
These lines tell me that something else is calling a hugo and a css job. You should make your repo public to let people see what exactly your build script is doing.
What COULD be is that you have a local hugo install that is older than the scss features and a global version that is up-to-date but unused. My hugo run never says anything like “Starting ‘css’” so it must be something in your gulp setup. Without public repo nobody knows what is going on in your install.
First, I am a NOOB with Hugo and trying to create my first site for a friend. So forgive me my “stupid” stuff. It’s also going to be full of things I no longer use.
Second, I’m using netlifycms. Could that be an issue?
…
and while writing my second point
…
I found that it’s related with the netlify cms. Investigating further