After installing latest SvelteKit, attempting to install stwui fails unless I add the --legacy-peer-deps flag.
ERROR OUTPUT:
~/Sandbox/test npm i -D stwui
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: test@0.0.1
npm ERR! Found: @sveltejs/kit@2.3.0
npm ERR! node_modules/@sveltejs/kit
npm ERR! dev @sveltejs/kit@"^2.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @sveltejs/kit@"^1.27.0" from stwui@0.21.0-next
npm ERR! node_modules/stwui
npm ERR! dev stwui@"*" 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/sean/.npm/_logs/2024-01-10T22_19_11_033Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/sean/.npm/_logs/2024-01-10T22_19_11_033Z-debug-0.log
Expected Behavior
Installs without error.
Steps To Reproduce
npm i svelte@latest test
cd test
npm i
npm i -D stwui
Current Behavior
After installing latest SvelteKit, attempting to install stwui fails unless I add the
--legacy-peer-deps
flag.ERROR OUTPUT:
Expected Behavior
Installs without error.
Steps To Reproduce
Link to Reproduction / Stackblitz
No response
More Information
No response