I have a strange issue with my Cloudflare Pages. This morning, deployments were suddenly exiting with an error. First I thought there was an issue in the new commits (I have Pages linked to Github), but no:
Even the commits that were deployed successfully yesterday, don’t work any more today. I noticed that Cloudflare grouped Pages together with Workers recently. Did they make any other changes that could cause this issue?
If Cloudflare is reading this: My Zone ID is 17829fd6fe68c1ef3a6fbaa74f755a70, and the commit ID is 2378617415076137ccf8a198117b55d45bde6da3.
I’ll try to deploy again later today. Hopefully, Cloudflare only has a temporary issue. But if that’s the case, the issue isn’t effecting all Pages deployment: I was able to deploy another Pages site.
As a note, Pages currently runs npm install instead of npm ci which means that lock files are ignored. This can relate in builds installing different versions even if pinned.
This is fixed in the v2 build system (announced today), but for now pinning your versions is about the best you can and hope no transitive dependencies change or implement breaking changes.