zone-evergreen.js:659 Unhandled Promise rejection: PERMISSION_DENIED: Permission denied ; Zone: <root> ; Task: WebSocket.addEventListener:message ; Value: Error: PERMISSION_DENIED: Permission denied 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;
// ...
});