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

Create-Ionic-Svelte App - we received an error from the package manager #94

Open
keev-studio opened this issue Jan 21, 2024 · 0 comments

Comments

@keev-studio
Copy link

keev-studio commented Jan 21, 2024

Hi, when using the command
npm create ionic-svelte-app@latest
I got error, something with dependencies

Create-Ionic-Svelte App - we received an error from the package manager - please submit issue on https://github.com/Tommertom/svelte-ionic-npm/issues
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: app@0.0.1
npm ERR! Found: @sveltejs/kit@1.30.3
npm ERR! node_modules/@sveltejs/kit
npm ERR! dev @sveltejs/kit@"^1.20.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @sveltejs/kit@"^2.0.0" from @sveltejs/adapter-static@3.0.1
npm ERR! node_modules/@sveltejs/adapter-static
npm ERR! dev @sveltejs/adapter-static@"*" 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!

what to do? thanks

EDIT:
I was able to install by using --legacy-peer-deps , but what is the proper way?

EDIT2: I deleted all global packages and cleaned cache on my windows machine but the error is still there

EDIT3: At the end I was able to build it manually by your instructions

2024-01-21T02_17_48_462Z-debug-0.log

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

No branches or pull requests

1 participant