-
Notifications
You must be signed in to change notification settings - Fork 38
Carousel only works when using dev:ssr? #68
Comments
Similar issue for me with sveltekit and node adapter "@sveltejs/adapter-node": "^1.0.0-next.24",
"@sveltejs/kit": "^1.0.0-next.112",
Uncaught (in promise) SyntaxError: import not found: default
Carousel.svelte:32:7
import Siema from "/node_modules/siema/dist/siema.min.js?v=1f999076"; |
Builded version was ok. |
I have the same with Sveltekit, when running the dev server I get:
It works in the build though. |
We are experiencing the same here.. When i build the app and use the preview command it works fine. Any clue on a solution for that? |
It would be great for people to know about this bug in the readme, it really breaks the dev experience with sveltekit.
This seems to get rid of the '500 import default error'. EDIT
No more errors, you can continue building wonders. - abraços |
Workaround for this issue: beyonk-group/svelte-carousel#68
I was really happy to find this, but the joy turned to sadness when I noticed this only works for
npm run dev:ssr
and notnpm run dev
. Do I need to add a script or external file to the pages?Using Routify with Tailwind
node 14.17.0
npm 6.14.13
Maybe this is the problem?
Uncaught (in promise) TypeError: Siema is not a constructor
The text was updated successfully, but these errors were encountered: