Mentions légales du service

Skip to content

Change hugo generator to make rendering possible on OSX.

Algiane requested to merge render-failure-on-OSX into master

Building locally the website fails on OSX:

ERROR 2022/06/13 11:07:18 render of "page" failed: "/Users/froehly/sed-bso.gitlabpages.inria.fr/themes/story/layouts/_default/baseof.html:13:10": execute of template failed: template: _default/single.html:13:10: executing "_default/single.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
ERROR 2022/06/13 11:07:18 render of "page" failed: "/Users/froehly/sed-bso.gitlabpages.inria.fr/themes/story/layouts/_default/baseof.html:13:10": execute of template failed: template: _default/single.html:13:10: executing "_default/single.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
ERROR 2022/06/13 11:07:18 render of "home" failed: "/Users/froehly/sed-bso.gitlabpages.inria.fr/themes/story/layouts/_default/baseof.html:13:10": execute of template failed: template: index.html:13:10: executing "index.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
ERROR 2022/06/13 11:07:18 render of "term" failed: "/Users/froehly/sed-bso.gitlabpages.inria.fr/themes/story/layouts/_default/baseof.html:13:10": execute of template failed: template: _default/list.html:13:10: executing "_default/list.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState
Error: Error building site: failed to render pages: render of "page" failed: "/Users/froehly/sed-bso.gitlabpages.inria.fr/themes/story/layouts/_default/baseof.html:13:10": execute of template failed: template: _default/single.html:13:10: executing "_default/single.html" at <.Hugo.Generator>: can't evaluate field Hugo in type *hugolib.pageState

Changing hugo generator solves the issue for me but I don't know if it works on linux OS.

Merge request reports