-
Notifications
You must be signed in to change notification settings - Fork 183
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
ESM/CJS conflict when importing Sveltestrap components #562
Comments
I have recently discovered that this issue has already been heavily discussed in other threads. Feel free to just delete this thread if you see it… I'll follow the existing threads. 😅 |
Hi @MattPhantastic please try with latest release (5.11.1) and let me know if you still see issues. Please close if resolved. |
It is broken on 5.11.1, but I've sent a fix: #566 |
Hi folks, please confirm this is resolved with v5.11.2 |
I have created a SvelteKit project using
pnpm create svelte
Recently I ran a
pnpm update
. Now, whenever I import Sveltestrap components, my site crashes and says there's a conflict between ESM and CJS.I also noticed when running
pnpm install sveltestrap
that the peer Svelte version is unmet:Is Sveltestrap not yet compatible with Svelte 4? — How soon can this issue be resolved?
EDIT: I tried downgrading.
First I tried
pnpm install [email protected]
:Then I realised how many other dependencies I also had to also downgrade, and so I decided to just try
pnpm install [email protected]
:Nothing seemed 'unmet' this time. Yet the site still crashes with the same ESM/CJS conflict. What gives?
The text was updated successfully, but these errors were encountered: