techniq / svelte-ux

Collection of Svelte components, actions, stores, and utilities to build highly interactive applications.
https://svelte-ux.techniq.dev/
MIT License
725 stars 39 forks source link

Circular Dependencies causing nothing to render #247

Closed Cheesy-Brik closed 6 months ago

Cheesy-Brik commented 6 months ago
node_modules/d3-interpolate/src/value.js -> node_modules/d3-interpolate/src/array.js -> node_modules/d3-interpolate/src/value.js
node_modules/d3-interpolate/src/value.js -> node_modules/d3-interpolate/src/object.js -> node_modules/d3-interpolate/src/value.js
node_modules/svelte-ux/dist/components/index.js -> node_modules/svelte-ux/dist/components/NumberStepper.svelte -> node_modules/svelte-ux/dist/components/index.js

I am getting this error when importing the ListItem component and it causes nothing to render onto the screen. Is there a fix for this?

techniq commented 6 months ago

NumberStepper (and others in Svelte UX) should be handled by https://github.com/techniq/svelte-ux/commit/c1f43800449ff744db26ac38b7c9f95e3e5ea6ac (coming in next release). Not sure why no one else is having this issue though (especially the docs) so could be something else.

techniq commented 6 months ago

Along with the circular reference, I took a look at the repo and it was a non-SvelteKit project based on svelte-tailwindcss-template. Decided to switch to a SvelteKit project with static builds.