angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Error: node_modules/@firebase/auth-compat/dist/auth-compat/index.d.ts:53:213 - error TS1005: ',' expected.

Open nolafs opened this issue 3 years ago • 7 comments

Hi,

I got no idea what is going on. It was working just fine for month but suddenly after updating to 7.2.1, I am getting the following error

Error: node_modules/@firebase/auth-compat/dist/auth-compat/index.d.ts:53:213 - error TS1005: ',' expected. 53 import { type User, type Unsubscribe, type ActionCodeInfo, type UserCredential, type Auth, type IdTokenResult, type MultiFactorError, type MultiFactorResolver, type PopupRedirectResolver, type Dependencies, type AuthCredential, type ApplicationVerifier, type ConfirmationResult, type AuthProvider, type MultiFactorUser, type NextOrObserver, type ErrorFn, type CompleteFn, type ActionCodeSettings, type Persistence, type PhoneAuthCredential } from "@firebase/auth";

Version info

Angular: 13.0.2 firebase-admin: "^9.11.1", firebase-functions: "^3.6.0", firebase-tools: "^9.23.0",

@angular/fire : ^7.2.1,

Node: 16

nolafs avatar Nov 10 '22 16:11 nolafs

This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Nov 10 '22 16:11 google-oss-bot

I am facing this same exact issues. Any resolution?

kartiksolanki avatar Nov 15 '22 21:11 kartiksolanki

Same issue, completely out of the blue. No new deps/changes in package.json/tsconfig.json. After a while we just manually installed deps 1-1 after checking them against a working project. All @angular/xxxx were set to ~13.3.x, rxjs to ~7.5.0 and typescript: ~4.6.2. This was extremely frustrating.. Good luck, all.

Xqwer avatar Nov 17 '22 13:11 Xqwer

Facing same issue .

Sahil-shah-167 avatar Nov 18 '22 07:11 Sahil-shah-167

facing same issue. how to solve this? I am using angular: 12.2.0, firebase: 9.0.0 and @angular/fire: 7.0.0

ArunAnandSeven avatar Nov 24 '22 06:11 ArunAnandSeven

aqui está a linha corrigida import { User, Unsubscribe, ActionCodeInfo, UserCredential, Auth, IdTokenResult, MultiFactorError, MultiFactorResolver, PopupRedirectResolver, Dependencies, AuthCredential, ApplicationVerifier, ConfirmationResult, AuthProvider, MultiFactorUser, NextOrObserver, ErrorFn, CompleteFn, ActionCodeSettings, Persistence, PhoneAuthCredential } from "@firebase/auth";

danielmmf avatar Jun 02 '23 22:06 danielmmf

Facing the same issue. Did anyone got a solution to this?

aakashahpl avatar Jul 23 '24 14:07 aakashahpl