Skip to content
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

SvelteKit 2 Warning - Svelte Field #84

Open
jdgamble555 opened this issue Dec 15, 2023 · 1 comment
Open

SvelteKit 2 Warning - Svelte Field #84

jdgamble555 opened this issue Dec 15, 2023 · 1 comment

Comments

@jdgamble555
Copy link

jdgamble555 commented Dec 15, 2023

Since upgrading to SvelteKit 2, I get this error:

8:53:29 PM [vite-plugin-svelte] WARNING: The following packages have a svelte field in their package.json but no 
exports condition for svelte.

[email protected]

Please see https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/faq.md#missing-exports-condition for details.

You have specified a baseUrl and/or paths in your tsconfig.json which interferes with SvelteKit's auto-generated
 tsconfig.json. Remove it to avoid problems with intellisense. For path aliases, use `kit.alias` instead: 
https://kit.svelte.dev/docs/configuration#alias

J

@jdgamble555 jdgamble555 changed the title SvelteKit 4 Warning - Svelte Field SvelteKit 2 Warning - Svelte Field Dec 16, 2023
@andreapiso
Copy link

Does the problem still persist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants