Error plugin.xml missing while trying to install geolocation plugin in my ionic 2 project


#1

i’m having this error : cannot find plugin.xml for plugin “package” !! what i’m supposed to do !! please i need some help when i typed cordova plugin list i get : no plugins added


#2

What commands are you executing to get this error?
What exactly is the error?


#3

cordova plugin add geolocation
error : cannot find plugin.xml for plugin “package”


#4

I believe the command you would run is:

cordova plugin add cordova-plugin-geolocation


#5

“geolocation” is probably not a real Cordova plugin.


#6

thank youuuu it worked :smiley: