You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running with Svelte 5 creates the following critical error (But with Svelte 4 everything works fine)
TypeError: children.forEach is not a function
at TreeViewItem (/workspace/svelte5/node_modules/.pnpm/@skeletonlabs+skeleton@2.9.0_svelte@5.0.0-next.77/node_modules/@skeletonlabs/skeleton/dist/components/TreeView/TreeViewItem.svelte:170:12)
at eval (/workspace/svelte5/src/routes/+page.svelte:83:80)
at Module.slot (/workspace/svelte5/node_modules/.pnpm/svelte@5.0.0-next.77/node_modules/svelte/src/internal/server/index.js:550:3)
at TreeView (/workspace/svelte5/node_modules/.pnpm/@skeletonlabs+skeleton@2.9.0_svelte@5.0.0-next.77/node_modules/@skeletonlabs/skeleton/dist/components/TreeView/TreeView.svelte:82:24)
at _page (/workspace/svelte5/src/routes/+page.svelte:76:74)
at /workspace/svelte5/.svelte-kit/generated/root.svelte:45:41
at Module.slot (/workspace/svelte5/node_modules/.pnpm/svelte@5.0.0-next.77/node_modules/svelte/src/internal/server/index.js:550:3)
at eval (/workspace/svelte5/src/routes/+layout.svelte:58:26)
at Module.slot (/workspace/svelte5/node_modules/.pnpm/svelte@5.0.0-next.77/node_modules/svelte/src/internal/server/index.js:550:3)
at AppShell (/workspace/svelte5/node_modules/.pnpm/@skeletonlabs+skeleton@2.9.0_svelte@5.0.0-next.77/node_modules/@skeletonlabs/skeleton/dist/components/AppShell/AppShell.svelte:119:24)
See skeletonlabs/skeleton#2502 - they have a property called children which is reserved in Svelte 5. We should see if we can come up with a way to not break when someone uses a children prop but uses slots.
Describe the bug
Running with Svelte 5 creates the following critical error (But with Svelte 4 everything works fine)
Reproduction
Alternatively open the following GitPod link:
https://gitpod.io/?autostart=true#https://github.com/mmailaender/svelte5
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: