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

Module '"@connect2ic/svelte"' has no exported member XXX #16

Open
dubecker opened this issue Jun 10, 2022 · 3 comments
Open

Module '"@connect2ic/svelte"' has no exported member XXX #16

dubecker opened this issue Jun 10, 2022 · 3 comments

Comments

@dubecker
Copy link

Hi, I'm getting errors when I want to import any components from @connect2ic/svelte.

When I run import {ConnectButton, ConnectDialog} from '@connect2ic/svelte';, I receive the two errors Module '"@connect2ic/svelte"' has no exported member 'ConnectButton' and Module '"@connect2ic/svelte"' has no exported member 'ConnectDialog'.

I'm simply running the description in the Getting Started part in your docs (https://connect2ic.github.io/docs/docs/Svelte/quick_start_svelte).

What could be the issue here?

@MioQuispe
Copy link
Collaborator

Hi, I'm getting errors when I want to import any components from @connect2ic/svelte.

When I run import {ConnectButton, ConnectDialog} from '@connect2ic/svelte';, I receive the two errors Module '"@connect2ic/svelte"' has no exported member 'ConnectButton' and Module '"@connect2ic/svelte"' has no exported member 'ConnectDialog'.

I'm simply running the description in the Getting Started part in your docs (https://connect2ic.github.io/docs/docs/Svelte/quick_start_svelte).

What could be the issue here?

Hey thats strange. Let me double check. Are you using webpack by any chance?

@dubecker
Copy link
Author

No, not using webpack. I'm using vite.

@MioQuispe
Copy link
Collaborator

No, not using webpack. I'm using vite.

Can you try latest 0.1.0 and see if it works? I managed to run it myself.

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