Unhandled Promise rejection: PERMISSION_DENIED: Permission denied ; Zone: <root> ; Task code example
Example: Uncaught (in promise) Error: PERMISSION_DENIED: Permission denied at Repo.ts:632
firebase.auth().signInAnonymously().catch(function(error) {
// Handle Errors here.
var errorCode = error.code;
var errorMessage = error.message;
// ...
});