Skip to content

initializeApp #3452

Closed
Closed
@conectafoot

Description

@conectafoot

The "Firebase Options" interface of the "initializeApp" function does not have the "locationId" attribute.

"dependencies": {
"@angular/animations": "^16.2.0",
"@angular/cdk": "^16.2.10",
"@angular/common": "^16.2.0",
"@angular/compiler": "^16.2.0",
"@angular/core": "^16.2.0",
"@angular/fire": "^16.0.0",
"@angular/forms": "^16.2.0",
"@angular/material": "^16.2.10",
"@angular/platform-browser": "^16.2.0",
"@angular/platform-browser-dynamic": "^16.2.0",
"@angular/router": "^16.2.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.13.0"
},

  "...Object literal may only specify known properties, and 'locationId' does not exist in type 'FirebaseOptions'.

Overload 2 of 3, '(options: FirebaseOptions, config?: FirebaseAppSettings | undefined): FirebaseApp', gave the following error.
Argument of type '{ projectId: string; appId: string; storageBucket: string; locationId: string; apiKey: string; authDomain: string; messagingSenderId: string; measurementId: string; }' is not assignable to parameter of type 'FirebaseOptions'.
Object literal may only specify known properties, and 'locationId' does not exist in type 'FirebaseOptions'.ts(2769)"

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