Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Peer Dependencies #353

Open
TheBeachMaster opened this issue Dec 12, 2023 · 0 comments · May be fixed by halfnelson/svelte-native-preprocessor#20
Open

Broken Peer Dependencies #353

TheBeachMaster opened this issue Dec 12, 2023 · 0 comments · May be fixed by halfnelson/svelte-native-preprocessor#20

Comments

@TheBeachMaster
Copy link

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: [email protected]
npm ERR! Found: @nativescript/[email protected]
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 [email protected]
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant