Good afternoon, I’m trying to try out the new hybrid mode. Writes errors “Error: Error building site”. Swears at scripts and styles that are rendered in the assets folder.
I try this and I can confirm it is running normal
hugo server --renderStaticToDisk
Start building sites …
hugo v0.94.0+extended darwin/amd64 BuildDate=unknown
| EN | EL
-------------------+------+-----
Pages | 17 | 16
Paginator pages | 0 | 0
Non-page files | 4 | 1
Static files | 46 | 46
Processed images | 1151 | 24
Aliases | 1 | 0
Sitemaps | 2 | 1
Cleaned | 0 | 0
Built in 9288 ms
thanks
This is not really helpful to debug your issue. What exactly is the error message coming up? Maybe add a link to your repository so we can run it locally and see what is happening.
The --renderStaticToDisc
should not be having any issues with the files in assets
, because it does only touch the files in static
. So my guess is that something else is going on.
That works alright for all of my sites. If you share your repo, someone can help reproduce the issue and debug.
1 Like