Skip to content

ignored lockfile #208

@RuBru

Description

@RuBru

What is your Hugo Extended Version

0.148.2

What is your Go Version

?

What is your Node.js Version

v20.19.4

What is your Operating System

ubuntu-latest

Check for Existing Issues

  • I have searched and found no relevant issues.

Expected Behavior

  1. I expect lockfile to NOT be git ignored and be committed instead for many best practice and security reasons.
  2. I expect theme to be deploy-able to Github Pages by following official guide but it fails as it expects to have a package-lock.json but it's not there because it's git ignored.

Steps to Reproduce

  1. Follow the official guide
  2. See your GHA fail.

Example:

hugo: downloading modules …
Start building sites … 
hugo v0.148.2-40c3d8233d4b123eff74725e5766fc6272f0a84d+extended linux/amd64 BuildDate=2025-07-27T12:43:24Z VendorInfo=gohugoio

Total in 10350 ms
Error: error building site: TAILWINDCSS: failed to transform "/css/main.css" (text/css). You need to install TailwindCSS CLI. See https://gohugo.io/functions/css/tailwindcss/: binary with name "tailwindcss" not found using npx
hugo: collected modules in 4016 ms

Code Reproduction URL

RuBru/fizio@e4cba12

Additional Information

I'd suggest to commit the lockfile by default and add a step to documentation a reminder to update the dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions