-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unable to compile / import Transition from svelte-transition in svelte kit SSR #1
Comments
Do you have a Svelte project setup? i.e. is it handling .svelte files elsewhere |
Yep, it is successfully processing the rest of my svelte files. If I just remove the svelte.config.ts
vite.config.ts
|
@CaptainCodeman could it be
|
I've updated the dependencies / packaging, see how that works ... |
Update broke my project with Internal server error: Failed to resolve entry for package "svelte-transition". The package may have incorrect main/module/exports specified in its package.json. |
I am having trouble using Astro and encountering the same problem repeatedly. ✘ [ERROR] Failed to resolve entry for package "svelte-transition". The package may have incorrect main/module/exports specified in its package.json. [plugin vite:dep-scan]
node_modules/esbuild/lib/main.js:1360:21:
1360 │ let result = await callback({ |
Here is an example of how to setup the package.json: https://github.com/melt-ui/melt-ui/blob/develop/package.json |
Sorry about that, I missed adding the "files" to package.json so the update to the new svelte packager meant they were .gitignore'd |
Hi there, I'm using the
combobox
element from svelte-headlessui out-of-the-box (just copied the code from the docs site). It looks like I get an ESM loader issue when Svelte tries to handle thesvelte-transition
import. See below:It seems this may be an issue with how svelte-transitioned is package. Let me know if you need any more info. Thanks!
The text was updated successfully, but these errors were encountered: