When trying to start a SvelteKit project of mine I am getting this error:
C:\...\svelte-app>npm run dev> svelte-mvp@0.0.1 dev> vite deverror when starting dev server:Error: write EOF at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16)
Versions:
node --versionv20.11.0
I can start other SvelteKit projects just fine and I can create a new SvelteKit project and start that without issue. Any ideas what this error even means and how to fix it?
Update #1
The error is related to the Cloudflare adapter:
svelte.config.js// This line causes the issues: import adapter from '@sveltejs/adapter-cloudflare';
Using '@sveltejs/adapter-auto'
is a local workaround but the underlying issues is still unknown.