Hi
I have deployed Hugo 0.89.4 ( Linux-64.deb) in kubernetes and working fine. But when try to redeploy with out any change also but got error like below.
Error: Error building site: TOCSS: failed to transform “scss/main.scss” (text/X-scss): SCSS processing failed: file “stdin”, line 1, col 1: File to import not found or unreadable:…//vendor/bootstrap/scss/functions.
It’s hard to diagnose without details, according to the logs, the docker container is missing some dependencies.
I assumed that you’re running Hugo server inside the container, if so, you’ll need to install the dependencies at runtime.
You can override the image’s command to check if the dependencies exist.
docker run myimage ls /path/to/vendor/bootstrap/scss
Or execute one more command during the build stage to make sure the image is OK, such as hugo.