It seems like you did not configured fb and google login in your project and run those fb and google login commands as it is described in the course .
Please follow this tutorial just to create app in facebook .refer : https://ionicframework.com/docs/native/facebook/
After creating app please note that app name and app client id and then try running these command :
cordova plugin rm cordova-plugin-facebook4
note that below command needs two params APP_ID and APP_NAME . So you need to put these values in the command then run it :
ionic cordova plugin add [email protected] --variable APP_ID= --variable APP_NAME=