Cloudflare Pages preview deployment fails with unhelpful message

I’ve been using Cloudflare pages to deploy a website, but every time it builds a preview site for me it fails with the following logs:

12:54:50.340	Initializing build environment. This may take up to a few minutes to complete
12:57:14.585	Success: Finished initializing build environment
12:57:14.585	Cloning repository...
12:57:18.642	Failed: an internal error occurred

Any help would be greatly appreciated! thanks!

Hey, do you happen to have a sub module in your repository?
If not, could you please provide a link to the repo?

I don’t; The repo is here on branch milligram-css.

I figured out what the problem was; unfortunately you’re right, I did have a super secret submodule that was created as my dist directory somehow. Removing it has fixed the problem. Thank you so much!


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.