Trying to deploy sveltekit app to pages

Hi =)
im currently trying to deploy my sveltekit app to cloudlfare pages. Strangely my deployments keep failing (they work when locally testing with npx wrangler pages dev .svelte-kit/cloudflare --compatibility-flag=nodejs_compat) without any errors.

Cloudflare always returns “success” and gives me a link to the page, that throws a 500 error. And the deployment in the dashboard is marked as failed. There is no tab for errors in my dashboard.

Has anyone got any idea, what to do?

PS: I’ve already added the compat flags to my project