Skip to content

Cannot resolve dependencies #3

@deshartman

Description

@deshartman

Hi,
I tried this lib with Sveltekit and hit this issue:

npm i  svelte-editorjs
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/svelte
npm ERR!   dev svelte@"^3.55.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"3.31.0" from [email protected]
npm ERR! node_modules/svelte-editorjs
npm ERR!   dev svelte-editorjs@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 

This is just a stock Sveltkit project with
npm create svelte@next test-01

Looks like the Svelte version is very old. Just confirming it does not work with Kit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions