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

issue with Angular 18 RxJS version #4903

Open
danilobassi8 opened this issue Jan 16, 2025 · 0 comments
Open

issue with Angular 18 RxJS version #4903

danilobassi8 opened this issue Jan 16, 2025 · 0 comments

Comments

@danilobassi8
Copy link

Hi, I don't know if this is the right place to report this error. But I went to the package that was causing the error on NPM and it redirected me here.
I created a new project using Angular 18 and Ionic. But I'm having some errors when installing npm packages.

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/rxjs
npm error   rxjs@"~7.8.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer rxjs@"^5.5.0 || ^6.5.0" from @ionic-native/[email protected]
npm error node_modules/@ionic-native/core
npm error   peer @ionic-native/core@"^5.1.0" from @ionic-native/[email protected]
npm error   node_modules/@ionic-native/file
npm error     @ionic-native/file@"^5.36.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.

I tried to downgrade to RxJS version 6.5.0, but then the same error happens (but this time caused by Angular packages)

npm error Could not resolve dependency:
npm error peer rxjs@"^6.5.3 || ^7.4.0" from @angular/[email protected]

Does this means that Ionic is not compatible with Angular 18?
if I run npm install --force it seems to work. Is there any other way to fix this issue?

Thanks in advance!

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