Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Svelte 5: Unstate does not work in vite ssr #10016

Closed
zhihengGet opened this issue Dec 28, 2023 · 2 comments
Closed

Svelte 5: Unstate does not work in vite ssr #10016

zhihengGet opened this issue Dec 28, 2023 · 2 comments

Comments

@zhihengGet
Copy link

zhihengGet commented Dec 28, 2023

Describe the bug

getting this TypeError: __vite_ssr_import_17__. unstate is not a function for svelte kit latest and vite 5.0.3

Reproduction

lab


Logs

-

System Info

latest svelte

Severity

annoyance

@trueadm
Copy link
Contributor

trueadm commented Jan 2, 2024

You need to use Svelte 5 alpha to import this function.

@zhihengGet
Copy link
Author

zhihengGet commented Jan 3, 2024

You need to use Svelte 5 alpha to import this function.

Could u add more detail? im using 5.0.0-next.27, i don't see an a new version :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants