Used this guide to install and test postCSS but I get this error
$ hugo serve
Start building sites …
hugo v0.100.0-27b077544d8efeb85867cb4cfb941747d104f765+extended windows/amd64 BuildDate=xxxx VendorInfo=gohugoio
Error: Error building site: POSTCSS: failed to transform "css/root.css" (text/css): 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Built in 1448 ms
If it matters, I store and run Hugo in C:\Users\user\Documents. The postcss.config.js file looks like this
C:\Users\user-name\Documents\projects\hugo-project-1 (projects houses my all sites, test sites and the Hugo binary.) node_modules, package-lock.json, package.json, and postcss.config.js are in the root of the hugo-project-1. I have Node.js installed too.
(I only want to add vendor prefixes to my CSS using postCSS )
So it is a known issue…I had to create a new user account and copy paste the files from the old user to the new user (since renaming the user in the registry corrupted the account). I hope some progress will come out of this.