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

Svelte 5 compatible version #12

Open
1 task done
nicolas-albert opened this issue Nov 7, 2024 · 0 comments
Open
1 task done

Svelte 5 compatible version #12

nicolas-albert opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nicolas-albert
Copy link

Description

I want to include retejs in a Svelte 5 project (installed with npm i --force).
Like in the closed #7 , the SvelteComponent cannot be found.

✘ [ERROR] No matching export in "node_modules/svelte/src/index-client.js" for import "SvelteComponent"

    node_modules/rete-svelte-plugin/svelte/presets/classic/components/ConnectionWrapper.svelte:8:9:
      8 │ import { SvelteComponent, onMount } from "svelte";
        ╵          ~~~~~~~~~~~~~~~

14:31:32 [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/rete-svelte-plugin/svelte/presets/classic/components/ConnectionWrapper.svelte:8:9: ERROR: No matching export in "node_modules/svelte/src/index-client.js" for import "SvelteComponent"

My package.lock reference rete 2.0.5, rete-svelte-plugin 2.0.3 and svelte 5.1.12.

Suggested Solution

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Ni55aN Ni55aN self-assigned this Nov 10, 2024
@Ni55aN Ni55aN added the enhancement New feature or request label Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants