-
Notifications
You must be signed in to change notification settings - Fork 1
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
The requested module does not provide an export named 'default' #2
Comments
This is interesting. I'm thinking there is something specific about your setup that is causing this issue. I would be curious to see the contents of your package.json. I don't see the same error in my installation or when I test it on Svelte REPL https://svelte.dev/repl/35517043583c40e6aa706ce59a2a691d?version=3.55.1 Can you offer any further information that will help replicate the error? |
I'll chime in. I believe this is specific to Sveltekit, and won't be reproduced on pure Svelte. I'm not 100% on this, but I'm assuming it's similar to this issue AgnosticUI/agnosticui#238 |
@hahuang65 thanks for that insight - I'll try it out in SvelteKit and see what happens! |
It appears that the problem is svelte-qrious does not support the ESM format. I'll be honest. I don't really know what that means at the moment! Anyway, that means to use Svelte QRious in SvelteKit, you will need to instruct vite to pre-bundle it. In your
Then you should be able to use Svelte Qrious as documented |
@michaelphipps I've followed your instructions above, but I get
|
Hi!
Is it a bug or am i using it wrong?
The text was updated successfully, but these errors were encountered: