bep / docuapi

Beautiful multilingual API documentation theme for Hugo
https://docuapi.netlify.app/
Other
750 stars 200 forks source link

Error Building: render of "home" failed #40

Open kordaki opened 4 years ago

kordaki commented 4 years ago

I've an error on hugo server:

Building sites … Total in 6 ms
Error: Error building site: failed to render pages: render of "home" failed: 
"~\docuapi\layouts\_default\list.html:3:62": execute of template failed: template: _default\list.html:8:7: 
executing "_default\\list.html" at <partial "styles.html" .>: error calling partial: 
"~\docuapi\layouts\partials\styles.html:3:62": execute of template failed: template: partials/styles.html:3:62: 
executing "partials/styles.html" at <toCSS $cssOpts>: error calling toCSS: type map[string]interface {} not supported in Resource transformations

I had correct building site with hugo server about one month ago. And i did some customization on my own docuapi successfully . every things were ok. But after 1 month i came back to add new changes and i encountered to this error.

Could you help me for resolving this problem?

ianmcfall commented 4 years ago

docuapi is awesome.

Having same issue. One day hugo server executing flawlessly, next error as described above. I'm sure it's a config issue somewhere, anyone have any insights?

Update

I rebooted my machine and hugo server was working again. Not sure why, maybe #usererror.