Here\'s my code:
firebase.auth().onAuthStateChanged((user) => { if (user) { console.log(\"We are authenticated now!\"); firebase.fires
I fixed that issue by downgrading Firebase version to 5.0.0 (I was using version 6.4). Hope it could help others..
dependencies: { "firebase": "^5.0.0" }
npm install