I added the accounts-facebook package and it broke all my react components

So here is what happened. I added the accounts-facebook package and now all my react components do not call their componentsDidMount() methods. This only happens in Production environment. Works perfectly on localhost.

I tried calling Meteor.loginWithFacebook() from my console and it worked.

I removed the accounts-facebook package and everything went back to normal.

I have a more details on Stackoverflow

I’m probably doing something wrong but I have no idea what.