DEV Community

Alen Abraham
Alen Abraham

Posted on

1 1

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.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs