-
Notifications
You must be signed in to change notification settings - Fork 387
Open
Description
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
- I expect lockfile to NOT be git ignored and be committed instead for many best practice and security reasons.
- 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.jsonbut it's not there because it's git ignored.
Steps to Reproduce
- Follow the official guide
- See your GHA fail.
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
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
Labels
No labels