If you think the error message is useful:
Error: error building site: POSTCSS: failed to transform "scss/main.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Think again. npm install postcss-cli could be added to the .gitlab-ci.yml file but the pipeline will still fail:
And in terms of conveying meaning the error message is vague, it expects the user to do 3 things:
- check the installation of postcss which is vague enough to be ignored.
- After pretending to check the installation it requests that the user also install postcss-cli which is maybe or maybe not the exact same thing?!?
- And after you do those two vague steps it reminds you that no matter what, the feature is unavailable for this version of hugo anyway so you just wasted 2 steps. And the helpful link just reminds you that hugo and hugo_extended are two different things. Its a choose-your-own-adventure masquerading as an error message…
This is a real head-scratcher since I am fairly certain the error message was originally intended to point folks who have installed hugo to hugo_extended which I am very definitely using.