I am currently experimenting with MeteorJS technology and attempting to use alerts for success or failure notifications when making a meteor call. However, I've encountered an issue where the alerts are not functioning as expected. This problem is specific to client-side code. Template.socialIntFBGoogle.events({ 'click .socialFb': function(event) { Meteor.loginWithFacebook({}, function(err){ if (err) { throw new Meteor.Error("Facebook login failed"); }else{ alert("Google login"); Meteor.call('transfer',function(error, result){ if(error){alert(error);} else{alert("Successful");} }); FlowRouter.go('/'); } }); }, }); Thank you in advance for any help!