npm install svelte-image-input
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-package@1.0.0
npm ERR! Found: svelte@4.2.8
npm ERR! node_modules/svelte
npm ERR! dev svelte@"^4.2.8" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer svelte@"^3.54.0" from svelte-image-input@0.1.3
npm ERR! node_modules/svelte-image-input
npm ERR! svelte-image-input@"*" 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!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/xxx/.npm/_logs/2024-01-06T14_24_23_444Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/xxx/.npm/_logs/2024-01-06T14_24_23_444Z-debug-0.log
Installing inside a Svelte 4 project gives error: