Skip to content

bug(website): install hugo instructions for local testing not working #4076

Closed
@dandawg

Description

@dandawg

This is a Bug Report

Problem:
The instructions to install hugo (for local development) aren't working. The command:

HOMEBREW_COMMIT="9d025105a8be086b2eeb3b1b2697974f848dbaac" # 0.124.1
curl -fL -o "hugo.rb" "https://raw.githubusercontent.com/Homebrew/homebrew-core/${HOMEBREW_COMMIT}/Formula/h/hugo.rb"
brew install ./hugo.rb
brew pin hugo

returns a 404 Not Found on the curl command.

...
curl: (56) The requested URL returned error: 404
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
Warning: No available formula with the name "hugo".
...

This is a problem because installing the latest version of hugo with brew install hugo works for install, but fails when trying to serve the website.

Proposed Solution:
The best solution would probably be to update the website so that it works with the latest hugo. An alternative may be to find another location of the hugo source (or use another version?).

Page to Update (provide the full path):
https://github.com/kubeflow/website?tab=readme-ov-file#install-hugo

Component/Kubeflow Version:
NA

Labels

/area website


Impacted by this bug? Give it a 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/websiteAREA: Website Styles/Hosting/Servingkind/bugKIND: Bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions