Svelte Kit Deployment

Hello, I am trying to deploy my svelte kit app to cloudflare worker. Application is working fine locally, but when I deploy it on cloudflare it gives error 500. Wrangler tail doesn't show anything and I cannot find what is the error.
This is my svelte config

import adapter from '@sveltejs/adapter-cloudflare';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

export default {
    preprocess: vitePreprocess(),
    kit: {
        adapter: adapter(),
    }
};
image.png
Was this page helpful?