google / docsy-example

An example documentation site using the Docsy Hugo theme
https://docsy.dev
Apache License 2.0
472 stars 687 forks source link

docsy-example fails to run locally #114

Open andreaceccanti opened 3 years ago

andreaceccanti commented 3 years ago

Taking inspiration from #100, I created a new repo using the Docsy Example Project as a template.

Then followed instructions to clone the repo and then build using the docker image, but after a docker-compose up I get the following error:

❯ docker-compose up
Creating network "voms-docsygithubio_default" with the default driver
Creating voms-docsygithubio_site_1 ... done
Attaching to voms-docsygithubio_site_1
site_1  | Start building sites …
site_1  | Built in 3153 ms
site_1  | Error: Error building site: TOCSS: failed to transform "scss/main.scss" (text/x-scss): resource "scss/scss/main.scss_9fadf33d895a46083cdd64396b57ef68" not found in file cache
voms-docsygithubio_site_1 exited with code 255

Thanks for your help

geriom commented 3 years ago

It seems the base image doesn't doesn't have hugo extended installed. Using the Dockerfile in this PR should work.

I currently can't test it because of an unrelated issue, as soon as I resolve it I'm going to merge that PR.