sveltekit-superforms icon indicating copy to clipboard operation
sveltekit-superforms copied to clipboard

SuperDebug.svelte error in svelte 5 runes

Open dualjack opened this issue 9 months ago • 3 comments

Svelte v5 SuperForms: 2.23.1

TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".svelte" for sveltekit-superforms\dist\client\SuperDebug.svelte

dualjack avatar Feb 08 '25 23:02 dualjack

Can you reproduce this in a MRE? For example: https://sveltelab.dev/github.com/ciscoheat/superforms-examples/tree/zod or create a new SvelteKit project, add sveltekit-superforms and SuperDebug?

ciscoheat avatar Feb 09 '25 12:02 ciscoheat

https://github.com/busheezy/sveltekit-superforms-runes-mre/commit/894247a951e84c289ef92d7ca3cc83433a861112

This is all it takes to reproduce. Thanks.

busheezy avatar Feb 27 '25 21:02 busheezy

This will require a rewrite of the SuperDebug component for Svelte 5. Both versions needs to be maintained for backwards compatibility. A PR for that would be very helpful.

ciscoheat avatar Mar 09 '25 11:03 ciscoheat

Hopefully fixed now with 2.27.0

ciscoheat avatar Jun 16 '25 20:06 ciscoheat

Closing as it seems to be working.

ciscoheat avatar Jun 27 '25 11:06 ciscoheat