-
Notifications
You must be signed in to change notification settings - Fork 318
After upgrade build fails #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The issue seems to have been introduced in commit 02085ff. Before that the build runs smoothly. |
Hey @pasdengl, can you share your repository? Also, it's a big update, and many dependencies have been changed. So it's recommended that you fork or clone the latest code instead of using the update-theme script. |
@tfsomrat We use Hugoplate here and run into the same problem. We use Hugoplate as a submodule in Initially we used |
@tfsomrat I managed to update to the latest version of Hugoplate for our site with a set of manual changes. Especially the changed keys in
This has not been obvious, since the string |
I ran into a similar issue after updating Hugo, which caused the build for my site to fail. I had originally created my repo from the What worked for meFollowing this Stack Overflow answer, I was able to rebase and merge the theme updates into my project. Here’s what I did:
You can see my rebase commit here: After this, both |
What is your Hugo Extended Version
hugo v0.144.2+extended+withdeploy darwin/amd64
What is your Go Version
go1.24.0 darwin/amd64
What is your Node.js Version
node@v23.7.0
What is your Operating System
mac
Check for Existing Issues
Expected Behavior
npm run dev to be successful, but its not
Steps to Reproduce
npm run dev
Start building sites …
hugo v0.144.2+extended+withdeploy darwin/amd64 BuildDate=2025-02-19T12:17:04Z VendorInfo=brew
Built in 1398 ms
Error: error building site: TAILWINDCSS: failed to transform "/css/main.css" (text/css): Error: Failed to find 'tailwindcss'
in [
mysite/website/mysite-site
at /node_modules/postcss-import/lib/resolve-id.js:35:13
/node_modules/postcss/lib/lazy-result.js:293:11)
/node_modules/tailwindcss/lib/cli/build/index.js:49:9)
Code Reproduction URL
No response
Additional Information
I ran these before npm run dev
npm run update-theme
npm run update-modules
The text was updated successfully, but these errors were encountered: