DEV Community

Alen Abraham
Alen Abraham

Posted on

Hugo version error while deploying.

I was building my personal website using a static site generator called Hugo and I faced a hugo-extended version issue while deploying it.

I found very less resources while I tried to resolve the issue and so I thought of sharing the way I resolved the deployment issue.

The error I faced -
Image description

It was asking for a hugo extended version for the build and a normal hugo installation on your system will not help in resolving the issue.

Check your hugo verion:

hugo version
Enter fullscreen mode Exit fullscreen mode

Then you need to install hugo extended from this [github repository](https://github.com/jakejarvis/hugo-extended or see this docs.

The installation can be done by snap.

snap install hugo --channel=extended
Enter fullscreen mode Exit fullscreen mode

To check hugo extended version

snap refresh hugo --channel=extended
Enter fullscreen mode Exit fullscreen mode

Then do the build and deploy.

Hope someone coming up with this issue find this helpful.

Oldest comments (0)