Failing to Build in Continuous Deploy

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.

Repo: GitHub - Mushroom-Daemon/doks: copy playbook · GitHub

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

Thank you for your reply. I updated Doks and then Hugo and am having seemingly new issues. Got the following error. Any suggestions? :man_shrugging:

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 guideexactly

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?

Just got a successful deploy, but the site is coming out as HTML(?).

Edit: I followed the update steps and copy/pasted all of the files from the test repo you created. The localhost is now loading fine, but site still looks like this after deploy. Thanks for your help (very much a noob).

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.