I had a error when i used the command hugo serve :
Error: Error building site: POSTCSS: failed to transform “style.css” (text/css): resource “scss/example.org/styles/index.scss_02bf14281ac065540fcc7ecc15ca70a4” not found in file cache
My Hugo version :
Hugo Static Site Generator v0.76.5-60F0725B windows/amd64 BuildDate: 2020-10-14T15:16:53Z
After some research, I have see this topic for my problem :
So, i installed the version “extended”
My new Hugo version :
Hugo Static Site Generator v0.76.5/extended windows/amd64 BuildDate: unknown
Hugo Pipe’s PostCSS requires the postcss-cli JavaScript package to be installed in the environment ( npm install -g postcss postcss-cli ) along with any PostCSS plugin(s) used (e.g., npm install -g autoprefixer ).
If you are using the Hugo Snap package, PostCSS and plugin(s) need to be installed locally within your Hugo site directory, e.g., npm install postcss-cli without the -g flag
hugo new site my-site
cd my-site
git init
git submodule add https://github.com/okkur/syna.git themes/syna
echo 'theme = "syna"' >> config.toml
npm install -D postcss postcss-cli
hugo