-
Notifications
You must be signed in to change notification settings - Fork 64
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
Error usage with snowpack #80
Comments
I haven't used Snowpack, so I'm not sure. The docs provided show how to use it in general React. There are also some GitHub issues for usage with Next.js. However, I’m not familiar with Snowpack, so I can't help here. Please let me know if you figure it out! |
Most likely, the problem is because of the common Js module, and the snowpack needs it to be an ESM. however, when I tried the workaround that is written here, it still won't work 🤔 |
I had the same issue. Never managed to resolve it, but tried with Vite which also uses esm modules but does prebundling of commonjs modules and had better results. However got another error when I tried starting it. I would get |
Solution to that is here #59 (comment) |
:-) Thanks for a solution! |
I wanna use this lib in the snowpack App.
But then, it throws
Thanks
The text was updated successfully, but these errors were encountered: