bowman2001 / perplex

A Hugo theme to publish technical content (docs, news, blog, articles)
https://perplex.desider.at
Apache License 2.0
27 stars 11 forks source link

can't run on latest hugo #127

Closed lgwapnitsky closed 9 months ago

lgwapnitsky commented 9 months ago

I just did a fresh config of hugo and downloaded this repository as a submodule. When I run hugo, I get the following:

WARN 2023/12/02 02:29:30 Module "perplex" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2023/12/02 02:29:30 Module "github.com/bowman2001/hugo-mod-meta" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2023/12/02 02:29:30 Module "github.com/bowman2001/hugo-mod-simple-icons" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2023/12/02 02:29:30 Module "github.com/bowman2001/hugo-mod-material-symbols" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2023/12/02 02:29:30 Module "github.com/bowman2001/hugo-mod-pangram" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2023/12/02 02:29:30 Module "github.com/bowman2001/hugo-mod-wrap" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2023/12/02 02:29:30 Module "github.com/bowman2001/hugo-mod-image" is not compatible with this Hugo version; run "hugo mod graph" for more information.
WARN 2023/12/02 02:29:30 Module "github.com/bowman2001/hugo-mod-resource" is not compatible with this Hugo version; run "hugo mod graph" for more information.
port 1313 already in use, attempting to use an available port
Error: add site dependencies: load resources: loading templates: "/home/larry/hugotest/themes/perplex/_vendor/github.com/bowman2001/hugo-mod-katex/layouts/_default/_markup/render-codeblock-chem.html:1:1": parse failed: template: _default/_markup/render-codeblock-chem.html:1: function "page" not defined

I'm on ubuntu 22.04, FYI.

Thank you

lgwapnitsky commented 9 months ago

nevermind...used latest from git repo instead. now working

mgei commented 7 months ago

I had the same error. Needed to install the extended version of Hugo (required for this theme).