SvelteKit first load of server-side rendered page always fails

Hi, when I open a server-side rendered page of my SvelteKit app hosted on CloudFlare Pages in a new session, the first load always returns the sveltekit error page with error 500. I do not know how to debug this error since there is no error in the browser console nor does the cloudflare dashboard show any errors.
1 Reply
Matix
MatixOP4mo ago
I've connted to the deployment using wrangler pages tail but the logs are not really useful aswell: GET https://................./invite/q2hhdg95o8ue5jocrx1z - Ok @ 24.8.2024, 21:15:48 (error) ReferenceError: HTMLElement is not defined Okay figured it out, the issue was I was trying to server render web components
Want results from more Discord servers?
Add your server