Need help with first Hugo site

I need advice to debug deploy

I am getting an exit status 128.

I thought it might’ve been a theme issue, so I made a new Hugo site and installed a different theme. I updated the “baseurl” and had the theme installed from gitmodule. I revoked Netlify access and reauthorized. Nothing has worked based on existing advice in the forums.

The site works locally when I test it with ‘hugo server’. So the issue should be retrieving it from GitLab.

11:15:04 PM: Build ready to start

11:15:06 PM: build-image version: b0258b965567defc4a2d7e2f2dec2e00c8f73ad6

11:15:06 PM: build-image tag: v3.4.1

11:15:06 PM: buildbot version: c6376102eedf4be6c6e5d685c7141e2eb612d47d

11:15:06 PM: Fetching cached dependencies

11:15:06 PM: Failed to fetch cache, continuing with build

11:15:06 PM: Starting to prepare the repo for build

11:15:08 PM: No cached dependencies found. Cloning fresh repo

11:15:08 PM: git clone

11:15:09 PM: Preparing Git Reference refs/heads/master

11:15:10 PM: Error checking out submodules: fatal: No url found for submodule path ‘themes/hugo-hero-theme’ in .gitmodules

11:15:10 PM: Failing build: Failed to prepare repo

11:15:10 PM: Failed during stage ‘preparing repo’: Error checking out submodules: fatal: No url found for submodule path ‘themes/hugo-hero-theme’ in .gitmodules
: exit status 128

11:15:10 PM: Finished processing build request in 3.895407933s

Hey @janezhgw and welcome to the forum!

Have you checked out this guide on Hugo + Netlify?

There’s also a suggestion here that has helped a few folks:

If those don’t help, please let us know and we’ll dig in further!

Hi Jen,

Thanks so much for responding. I ended up using Forestry as a workaround and managed to get the site deployed!

Thank you.

1 Like