I got an error while building ccloudflare pages : Failed: error occurred while updating repo submodules. This error appears in Cloning git repository stage. Does anyone has ideas about this issue?
Hey,
This usually happens when a submodule is linking to a private repository. We cannot see it therefore we cannot clone it. Please make sure the repo is public.
If you continue to have issues, please let me know your pages.dev URL
Thank you for your reply. My repo is public, but I still have the same issue. The URL is myblog-ddy.pages.dev. Thank you so much!
Looking at our logs I see âNo url found for submodule path âthemes/PaperModâ in .gitmodulesâ. In your .gitmodules
file you should have something like this:
[submodule "PaperMod"]
path = themes/PaperMod
url = git://github.com/example/PaperMod.git
It seems youâre missing that url
field in your .gitmodules. This means we cannot clone it (as we donât know what to fetch).
Please add that url
field or remove the submodule link (this will just have the files as part of the repo)
It worksďźThank you so much!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.