Deploy Hugo on Github pages with modules

I have tried for hours getting this to work and I did everything just as the docs and other posts say, but no success.

I’m not very experienced when it comes to Go, Hugo or Github pages. Can anyone point me to the error please?

The build is always failing with

Error: module "PaperMod" not found; either add it as a Hugo Module or store it in "/home/runner/work/".: module does not exist

I got it working now. The problem was this line in the config file:

theme: PaperMod

had to be changed into this line


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.