Closed Cluster2a closed 2 years ago
@Cluster2a which version of sveltekit are you on?
@rob-balfre
Svelte-kit: 1.0.0-next.311 pnpm: 6.31.0
@Cluster2a thanks.
I've just setup a new project using pnpm + kit + tailwind + svelte-select@beta and it all works fine. I'll create a demo repo and post it here. Then maybe we can debug and compare setups.
@Cluster2a here you go: https://github.com/rob-balfre/svelte-select-examples/tree/main/kit-tailwind
Okay - this is strange... I checked again on my project, and today it is working. Weird! Sorry for the circumstances, and thanks a lot!
For future readers I've just met this error on SvelteKit after installing v5.0.0-beta.40. Removing .svelte-kit
folder and relaunching npm run dev
made the error disappear.
Adding svelte-select as a devDependency rather than a dependency will cause this error as well. Moving it to a regular dependency fixes this.
Hey, I am using svelte-kit with tailwindcss.
I installed the beta version
pnpm install svelte-select@beta
because I wanted to try the no-styles-Components. When importing the compontent, I am getting the following error:It's usually not a problem to import svelte-components in my app, this might be an issue with pnpm?
Edit: I checked with npm and it's working fine. I wasn't able to find any settings regarding to file extensions in pnpm.