Cannot find plugin.xml for plugin "cordova-plugin-facebook4"


#1

When I’m trying install the facebook plugin

ionic cordova plugin add cordova-plugin-facebook4 --variable APP_ID=“xxxxxxx” --variable APP_NAME=“fblogin”

I’m getting the error as

Cannot find plugin.xml for plugin "cordova-plugin-facebook4". Please try adding            it again.
[ERROR] An error occurred while running subprocess cordova.

        cordova plugin add cordova-plugin-facebook4 --variable APP_ID=xxxxxx -... exited with exit code 1.

        Re-running this command with the --verbose flag may provide more informa           tion.

How can I solve the issue. What is the problem?