-1

I started a new ionic app project. And tried to install plugins like appminimize, and other capacitor plugins.

But, It keeps showing me weird errors. First im getting ERESOLVE error for rxjs. I tried to install various versions of rxjs. The Build sometimes showing error that rxjs/observable is not found. (Its removed in new version of rxjs)

Overall this project is not going anywhere except the ui. Could you please guide me what is going wrong in it.[Error 1][1]

Error 2

Jameel
  • 165
  • 1
  • 2
  • 11
  • You should use the same syntax as the error. which says you should use `^7.4.0` – Get Off My Lawn Feb 18 '23 at 20:15
  • 1
    Try using the latest version of the app minimise package, 4.20.0 is not compatible with ionic 6 – Bart Feb 18 '23 at 22:02
  • Hi Bart, how do I install the latest version (5.x)..... The npm install command shown on ionic website is only installing 4.x – Jameel Feb 19 '23 at 00:28
  • 1
    Does this answer your question? [The Ionic Native social sharing plugin keeps having issues with rxjs. What can I do to fix this issue?](https://stackoverflow.com/questions/75471490/the-ionic-native-social-sharing-plugin-keeps-having-issues-with-rxjs-what-can-i) – jcesarmobile Feb 19 '23 at 08:52

1 Answers1

1

Use npm i --legacy-peer-deps. It tells NPM to ignore peer deps and proceed with the installation anyway. Fore more details check this.

Janitha Rasanga
  • 1,010
  • 1
  • 11
  • 20