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

TypeError: __vite_ssr_import_18__.default is not a function or its return value is not iterable #39

Open
valorloff opened this issue Jun 18, 2024 · 1 comment

Comments

@valorloff
Copy link

valorloff commented Jun 18, 2024

Describe the bug
Hi, i'm trying use useLocalStorage in remix app:
in route:
import useLocalStorage from "use-local-storage";

To Reproduce
Steps to reproduce the behavior:

  1. Start app '...'
  2. Go to route with useLocalStorage import '....'
  3. See error
Unexpected Server Error

TypeError: __vite_ssr_import_18__.default is not a function or its return value is not iterable

Desktop:

  • OS: [Ubuntu 22]
  • Browser chrome
  • Version [ 126.0.6478.61 ]
@benlieb
Copy link

benlieb commented Jan 20, 2025

Me too. Any insights?

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