Ionic-native/in-app-browser requires a peer of native-core, but none was installed

I have been struggling for a lot of time now on this issue.

I am trying to install ionic native in app browser, but keep getting this message:

npm WARN @ionic-native/in-app-browser@4.3.0 requires a peer of @ionic-native/core@^4.2.0 but none was installed.

not much content to solve this available on the web, any ideas?

1 Like

You just need to update @ionic-native/core to 4.3.0.


what is the command to update the@ionic-native/core@^4.2.0?

npm install @ionic-native/core@4.2.0 --save


Thanks @MattE for the answer

When i run this command, first issue goes away but i get another issue “requires a peer of @ionic-native/core@^3.6.0 but none was installed.” ,

if i run npm install @ionic-native/core@3.6.0 --save, again 4.2.0 issue appears, how can i solve both??

Make sure all of your Ionic Native plugins are the same version.

Thanks it worked for me