Skip to content

Cannot find name 'PhoneOrOauthTokenResponse', 'UserInternal' #3217

@PR4SAN

Description

@PR4SAN

Version info

Angular: 13.2.0

Firebase:

AngularFire: 7.3.0

Other (e.g. Ionic/Cordova, Node, browser, operating system):

How to reproduce these conditions

I followed the doc and initialized @angular/fire by ng add @angular/fire. and after that compiler is giving error.

Debug output

** Errors in the JavaScript console **

Error: node_modules/@firebase/auth/dist/auth-public.d.ts:3137:22 - error TS2304: Cannot find name 'PhoneOrOauthTokenResponse'.

3137 _tokenResponse?: PhoneOrOauthTokenResponse;
~~~~~~~~~~~~~~~~~~~~~~~~~

Error: node_modules/@firebase/auth/dist/auth-public.d.ts:3429:11 - error TS2304: Cannot find name 'UserInternal'.

3429 user: UserInternal;
~~~~~~~~~~~~

** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **

✖ Failed to compile.

** Output from firebase.database().enableLogging(true); **

** Screenshots **
Screenshot 2022-05-07 at 4 03 25 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions