79304144

Date: 2024-12-23 20:32:06
Score: 1.5
Natty:
Report link

I have the same error and the problem may be here:

import { GoogleAuthProvider } from '@angular/fire/auth';

.... (blah, blah, blah and lot of code here)
    signInWithPopup( this.auth, new GoogleAuthProvider() )
    .then( (userCred) => {
      console.log("this is the result of the promise" );
      console.log( userCred );
    })

the problem is the import statement. When I changed to:

import { GoogleAuthProvider, signInWithPopup } from 'firebase/auth';

The problem solved, at least in that part.

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same error
  • High reputation (-1):
Posted by: Raul Luna