Hello. My site is failing to build on Netlify. I’ve tried a number of ChatGPT suggestions, but have had no success. Any recommendations? Many thanks.
Upgrade to Doks 1.9 following the Doks 1.9 upgrade guide
For your reference, here’s my (temporary) test repo (based on your upgraded repo) and the corresponding (successful) Netlify deploy
It looks like you missed the Clean dependencies part. Also, make sure to copy and paste the settings from Update PostCSS settings — otherwise your build fails
For other (possible) issues, folllow the Doks 1.9 upgrade guide — exactly
Hi, thanks again for your attention. I cleaned dependencies and updated PostCSS settings. However, in doing so, my localhost would not run. Some issue with the CALLOUT sections in my content. I tried simply deleting the CALLOUTS and now the site won’t load at all. Any suggestions?
I cloned your repo (most recent version) , and ran npm i and next npm run dev. The site renders OK (it looks good to me).
Also, I ran npm run build -- --baseURL=http://localhost:4173/ and next npm run preview -- --host. The site renders OK (it looks good to me).
I’v also update the test repo. Netlify renders the site OK (it looks good to me).
Try clearing your cache? Run for example: npx shx rm -rf public resources hugo_stats.json .hugo_build.lock
Also, make sure to meet the Thulite/Doks prerequisites:
- Hugo (latest extended or extended/deploy edition)
- Node.js/npm (latest LTS version)
Clearing the cache worked. I will make a note to try that FIRST from here on out. I sincerely appreciate your help, h-enk.



