import { getCustomerSupportsApi } from 'rpc';export async function load() { try { const data = await getCustomerSupportsApi(); return { data }; } catch (error) { console.error('Error occurred while loading customer supports:', error); return { data: null }; }}
this is my +page.ts code, whenever i save after writing this code, node server crashes
I tried to fetch the api from +page.ts to +page.svelte but the server crashes whenever i try to run it.