Hi,
I’m having trouble deploying my Hugo site to Netlify. The build fails with the following error:
7:35:16 PM: build-image version: e4c0a4cdfbecca2a7c3f744f70ce2f9297335459 (noble-new-builds)
7:35:16 PM: buildbot version: 4e72bc3e8a7c135b5663400784e42b17eeb1c535
7:35:16 PM: Building without cache
7:35:16 PM: Starting to prepare the repo for build
7:35:17 PM: No cached dependencies found. Cloning fresh repo
7:35:17 PM: git clone --filter=blob:none https://github.com/AnalystGian/my-site
7:35:17 PM: Preparing Git Reference refs/heads/main
7:35:18 PM: Failed during stage 'preparing repo': Error checking out submodules: fatal: No url found for submodule path 'themes/hugo-profile' in .gitmodules
: exit status 128: fatal: No url found for submodule path 'themes/hugo-profile' in .gitmodules
: exit status 128
7:35:18 PM: Error checking out submodules: fatal: No url found for submodule path 'themes/hugo-profile' in .gitmodules
: exit status 128
7:35:18 PM: Failing build: Failed to prepare repo
It seems like Netlify is trying to fetch a submodule for the theme, but there’s no URL specified in .gitmodules.
Could someone help me fix this so I can successfully deploy my site?
Thanks in advance!
Hi,
I’m having trouble deploying my Hugo site to Netlify. The build fails with the following error:
7:35:16 PM: build-image version: e4c0a4cdfbecca2a7c3f744f70ce2f9297335459 (noble-new-builds)
7:35:16 PM: buildbot version: 4e72bc3e8a7c135b5663400784e42b17eeb1c535
7:35:16 PM: Building without cache
7:35:16 PM: Starting to prepare the repo for build
7:35:17 PM: No cached dependencies found. Cloning fresh repo
7:35:17 PM: git clone --filter=blob:none https://github.com/AnalystGian/my-site
7:35:17 PM: Preparing Git Reference refs/heads/main
7:35:18 PM: Failed during stage 'preparing repo': Error checking out submodules: fatal: No url found for submodule path 'themes/hugo-profile' in .gitmodules
: exit status 128: fatal: No url found for submodule path 'themes/hugo-profile' in .gitmodules
: exit status 128
7:35:18 PM: Error checking out submodules: fatal: No url found for submodule path 'themes/hugo-profile' in .gitmodules
: exit status 128
7:35:18 PM: Failing build: Failed to prepare repo
It seems like Netlify is trying to fetch a submodule for the theme, but there’s no URL specified in .gitmodules.
Could someone help me fix this so I can successfully deploy my site?
Thanks in advance!