I’m new to Ionic and inherited a project. I ran ionic doctor check and received the warning below. I uninstalled it but the link it provides isn’t clear to me how to install the latest version properly. If I run npm install ionic-native it still tells me I have an old version. Any help would be appreciated, thanks!
Run
ionic info
commend, and share screen here
Hi gokujy, here is the output requested:
Ionic:
Ionic CLI : 5.4.2 (/usr/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4
Cordova:
Cordova CLI : 8.0.0
Cordova Platforms : android 6.3.0
Cordova Plugins : no whitelisted plugins (22 plugins total)
Utility:
cordova-res : not installed
native-run : 0.2.8
System:
Android SDK Tools : 26.1.1 (/home/linux/Desktop/bin/AndroidSDK)
NodeJS : v12.10.0 (/usr/bin/node)
npm : 6.12.0
OS : Linux 5.0
That package name is obsolete, so don’t do that any more. Just npm install @ionic-native/individual-plugin-name
for each plugin you’re using. That will automatically bring in @ionic-native/core
, which is the shared functionality. All of these things used to be in one monolithic ionic-native
package.