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

SvelteComponent is deprecated use Component instead #7

Closed
seofernando25 opened this issue Nov 22, 2023 · 2 comments
Closed

SvelteComponent is deprecated use Component instead #7

seofernando25 opened this issue Nov 22, 2023 · 2 comments

Comments

@seofernando25
Copy link

seofernando25 commented Nov 22, 2023

I'm attempting to run this library with Svelte 5 but it seems they have deprecated SvelteComponent in favor of just Component.

✘ [ERROR] No matching export in "node_modules/.pnpm/svelte@5.0.0-next.1/node_modules/svelte/src/main/main-client.js" for import "SvelteComponent"

    node_modules/.pnpm/rete-svelte-plugin@2.0.0_rete-area-plugin@2.0.1_rete-render-utils@2.0.1_rete@2.0.2_sass@1.69.5_svelte@5.0.0-next.1/node_modules/rete-svelte-plugin/svelte/presets/classic/components/ConnectionWrapper.svelte:5:9:
      5 │ import { SvelteComponent, onMount } from "svelte";
        ╵          ~~~~~~~~~~~~~~~

image

Seems replacing those might solve it

@seofernando25
Copy link
Author

seofernando25 commented Nov 22, 2023

It seems just Component is not available with Svelte 4, might have to wait until it releases...

@Ni55aN
Copy link
Member

Ni55aN commented Dec 28, 2024

resolved by #13

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