halfnelson / svelte-native

Svelte controlling native components via Nativescript
MIT License
1.82k stars 78 forks source link

Broken Peer Dependencies #353

Open TheBeachMaster opened 11 months ago

TheBeachMaster commented 11 months ago

New Versions of Nativescript ns create --svelte ship NS v8.6.1 but svelte-native requires <8.6 as a dependency,

As a result, in every dependency install, npm yells with

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: myapp@1.0.0
npm ERR! Found: @nativescript/core@8.6.1
npm ERR! node_modules/@nativescript/core
npm ERR!   @nativescript/core@"~8.6.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @nativescript/core@"~8.5.9" from svelte-native@1.0.15
npm ERR! node_modules/svelte-native
npm ERR!   svelte-native@"1.0.15" 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! 

New developers may not understand the implications of using --force or --legacy-peer-deps

Consider supporting both minor and patch releases of NS