-
Notifications
You must be signed in to change notification settings - Fork 287
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 with Svelte 5.0.0 #1185
Comments
"peerDependencies": { |
I thinks error in function utils/createEventDispatcher.js: import "get_current_component"... May be big change event function on Svelte 5.0.0. |
This problem is already addressed with PR #1168 |
@tuemaytinh1981 new version is released now. Can you please check if issue is corrected? |
I still get this issue @jjagielka , It wont let me install unless I have v4 installed, which doesn't have some features I'm using. |
@GreenDiscord the line |
I have since removed flowbite from my code, but what was happening is it wouldn't let me install flowbite-svelte when I had higher then v4 installed of svelte/sveltekit... V4 had some features removed which I was using in other versions soo.. |
Describe the bug
✘ [ERROR] No matching export in "node_modules/.pnpm/svelte@5.0.0-next.26/node_modules/svelte/src/internal/index.js" for import "get_current_component"
10:43:53 PM [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/.pnpm/flowbite-svelte@0.44.20_svelte@5.0.0-next.26/node_modules/flowbite-svelte/dist/utils/createEventDispatcher.js:9:9: ERROR: No matching export in "node_modules/.pnpm/svelte@5.0.0-next.26/node_modules/svelte/src/internal/index.js" for import "get_current_component"
at failureErrorWithLog (/Users/maitrongtue/Documents/GitHub/odm/node_modules/.pnpm/esbuild@0.19.9/node_modules/esbuild/lib/main.js:1650:15)
at /Users/maitrongtue/Documents/GitHub/odm/node_modules/.pnpm/esbuild@0.19.9/node_modules/esbuild/lib/main.js:1058:25
at /Users/maitrongtue/Documents/GitHub/odm/node_modules/.pnpm/esbuild@0.19.9/node_modules/esbuild/lib/main.js:1526:9
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Reproduction
<script> import { Button } from 'flowbite-svelte'; </script>Default
Alternative
Flowbite version and System Info
The text was updated successfully, but these errors were encountered: