Deploy site failed - error message

When attempting to deploy site I receive the following messages:

“We couldn’t deploy your site.”

  • 4:27:45 PM: Fetching cached dependencies
  • 4:27:45 PM: Failed to fetch cache, continuing with build
  • 4:27:55 PM: Error: “/opt/build/repo/themes/hugo-academic/layouts/partials/functions/get_address.html:21:1”: parse failed: template:
  • 4:27:59 PM: Error running command: Build script returned non-zero exit code: 255
  • 4:27:59 PM: Failing build: Failed to build site
  • 4:27:59 PM: failed during stage ‘building site’: Build script returned non-zero exit code: 255

** My domain is hosted by google domains and theme Hugo “academic” was uploaded to Github with R

Any feedback would be great as I am very new to this!
Thanks, Adam

hi, this post contains some troubleshooting steps for that specific build error:

if that doesn’t help, please paste or link is to your full deploy log, as I’m not seeing the error source in the screenshots you provided (it may be further up)