Successful pages deploy gets 500 error via .pages.dev link

If I rollback the site works, but a newly pushed update, or even a brand new fresh skeleton site I created to test, doesn't work. The depoy and builds are successful, but when clicking the .pages.dev link to 'visit' the site, it gets a 500 error.
2 Replies
Erisa
Erisa5mo ago
What text does the error show? Are you using functions and if so what is in the logs of the functions?
Roy | nftauthentic.pro
The error was just a 500 Error page, and in the overall url of the got the error while loading, so nothing loaded after that, and thus no other error codes or info. Not using functions. But I figured it out. It turns out, that for my sveltekit project I have to tell cloudflare to use exactly Node v22.0.0. I had had my variable set to NODE_VERSION >=21.1.0 and when building cloudflare would use the most recent version of Node 22.5.0 and that gave me issues.
Want results from more Discord servers?
Add your server