When updating svelte 4 to svelte 5 got dependency conflict:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: lglz-front@0.0.1
npm ERR! Found: svelte@5.1.9
npm ERR! node_modules/svelte
npm ERR! dev svelte@"^5.1.9" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^4.2.12" from @imask/svelte@7.6.1
npm ERR! node_modules/@imask/svelte
npm ERR! @imask/svelte@"^7.6.1" 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.
Describe the bug
When updating svelte 4 to svelte 5 got dependency conflict:
To Reproduce
Install
@imask
on fresh svelte 5 installExpected behavior
@imask
is compatible wth svelte 5