You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd svelte-native-app
$ npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: svelte-native-preprocessor@1.0.0
npm error Found: svelte@4.2.19
npm error node_modules/svelte
npm error dev svelte@"~4.2.2" from the root project
npm error peer svelte@">=3.19.0" from svelte-hmr@0.14.12
npm error node_modules/svelte-hmr
npm error svelte-hmr@"^0.14.2" from svelte-loader@3.2.4
npm error node_modules/svelte-loader
npm error dev svelte-loader@"^3.1.9" from the root project
npm error 3 more (svelte-loader, svelte-native, svelte-preprocess)
npm error
npm error Could not resolve dependency:
npm error peer svelte@"^3.37.0" from svelte-native-preprocessor@1.0.0
npm error node_modules/svelte-native-preprocessor
npm error dev svelte-native-preprocessor@"^1.0.0" from the root project
npm error
npm error Conflicting peer dependency: svelte@3.59.2
npm error node_modules/svelte
npm error peer svelte@"^3.37.0" from svelte-native-preprocessor@1.0.0
npm error node_modules/svelte-native-preprocessor
npm error dev svelte-native-preprocessor@"^1.0.0" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
Relevant log output (if applicable)
No response
Environment
OS: Linux 6.12 Garuda LinuxCPU: (22) x64 Intel(R) Core(TM) Ultra 9 185HShell: /bin/bashnode: 22.12.0npm: 10.9.0nativescript: Not Found# androidjava: 21.0.3ndk: Not Foundapis: Not Foundbuild_tools: Not Foundsystem_images: Not Found# iosxcode: Not Foundcocoapods: Not Foundpython: 3.12.7python3: 3.12.7ruby: Not Foundplatforms: Not Found
@dmoebius@TheBeachMaster we'll check with @halfnelson on the --svelte template.
You can just ns debug ios or ns debug android and runs well. You could also use npm i --legacy-peer-deps
Issue Description
When I create a new native-script project from the default svelte template, the generated package.json has resolve conflicts.
Reproduction
Create a new project from the svelte template:
Then run
npm install
in the created project:Relevant log output (if applicable)
No response
Environment
Dependencies
Please accept these terms
The text was updated successfully, but these errors were encountered: