Git 无法用我的雨果主题在netlify上建立我的雨果博客
我已经在这个网站上查看了我的问题,但我没有找到解决方案 我有我所有的工作,我有一个问题,我的工作。 我想用它在netlify上发布我的博客,但我有一个问题Git 无法用我的雨果主题在netlify上建立我的雨果博客,git,github,hugo,netlify,Git,Github,Hugo,Netlify,我已经在这个网站上查看了我的问题,但我没有找到解决方案 我有我所有的工作,我有一个问题,我的工作。 我想用它在netlify上发布我的博客,但我有一个问题 3:33:45 PM: Build ready to start 3:33:48 PM: Fetching cached dependencies 3:33:48 PM: Starting to download cache of 53.5MB 3:33:49 PM: Finished downloading cache in 521.502
3:33:45 PM: Build ready to start
3:33:48 PM: Fetching cached dependencies
3:33:48 PM: Starting to download cache of 53.5MB
3:33:49 PM: Finished downloading cache in 521.502937ms
3:33:49 PM: Starting to extract cache
3:33:50 PM: Finished extracting cache in 1.647501032s
3:33:51 PM: Finished fetching cache in 2.284751664s
3:33:51 PM: Starting to prepare the repo for build
3:33:51 PM: Preparing Git Reference refs/heads/hugo-initio
3:33:53 PM: Error checking out submodules: error: Server does not request for unadvertised object 43ea09ddf565af64ccf248ba68447745e158cc3d
Fetched in submodule path 'themes/hugo-initio', but it did not contain 43ea09ddf565af64ccf248ba68447745e158cc3d. Direct fetching of that commit failed.
3:33:53 PM: Failing build: Failed to prepare repo
3:33:53 PM: failed during stage 'preparing repo': Error checking out submodules: error: Server does not allow request for unadvertised object 43ea09ddf565af64ccf248ba68447745e158cc3d
Fetched in submodule path 'themes/hugo-initio', but it did not contain 43ea09ddf565af64ccf248ba68447745e158cc3d. Direct fetching of that commit failed.
: exit status 1
3:33:53 PM: Finished processing build request in 5.867246119s
我已经尝试了很多东西,但我还是被卡住了。这是由于没有.gitmodules设置,从不同的repo上传了主题 解决方案:
[submodule "themes/hugo-tranquilpeak-theme"]
path = themes/hugo-tranquilpeak-theme
url = url_repo_here
好。我已经用clear cache重新部署了我的项目,构建完成了。。。。