Pages: Deployment fail on clone repository

I just added one of my GitHub repos to the CF Pages, but on deployment, I get this error:

00:01:39.492 Initializing build environment. This may take up to a few minutes to complete
00:02:16.713 Success: Finished initializing build environment
00:02:16.713 Cloning repository…
00:02:21.536 Failed: an internal error occurred

I tried several times but everytime it failed. I’m using Hugo. Is there anything should I do?

I am getting this same thing.

Doesn’t mater if its Hugo or Gatsby.

Also, seems to only happen on the 2nd build.

It was due to the ROOT
setting Root directory: / back to / seemed to resolve the issue
not sure why that would cause it to fail.