really sorry, I just read some of the message and read github in there (and I instantly thought of GitHub Pages). I even went onto your Repo and saw that you had a deploy.yml which deployed to GitHub Pages...
I should have thought a bit more and could have asked if the error happened on Cloudflares Build runtime (which you are using through Git integration, i suppose).