Open bridge-jithesh opened 2 years ago
Getting nearly the same in production:
Uncaught (in promise) TypeError: ze is not a constructor Ae Carousel.svelte:109 t index.mjs:18 _n index.mjs:1802 mn index.mjs:1067 t index.mjs:1405 wn index.mjs:1412
However, I was getting this in dev which makes more sense without the minification: Uncaught (in promise) TypeError: Siema is not a constructor D Carousel.svelte:110 run index.mjs:18 mount_component index.mjs:1802 flush index.mjs:1067 update index.mjs:1405 handle_promise index.mjs:1412 promise callback*handle_promise index.mjs:1410 create_fragment$z bundle.js:7006 init$1 index.mjs:1877 Carousel_1 bundle.js:7107 create_fragment$y bundle.js:7127 init$1 index.mjs:1877 Home bundle.js:7204 create_if_block_1$4 bundle.js:2131 create_if_block$8 bundle.js:1973 update bundle.js:2238 update index.mjs:1085 flush index.mjs:1052 init$1 index.mjs:1894 App bundle.js:21947 app main.js:3
I just found that leaving Svelte-Carousel at 2.8.0 fixed the problem and can update other deps:
"@beyonk/svelte-carousel": "~2.8.0"
Hi, I am having a production error in the bundle. browser console says:
Any idea what it could be?
I am using Sveltekit ^1.0.0-next.221, Svelte ^3.44.1
Very basic setup as in the demo. Works fine on
npm run dev
. No, build errors either. You can reproduce it by runningnpm run build
andnpm run preview
Any idea what is the issue?