-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: node_modules/@firebase/auth/dist/auth-public.d.ts:3225:23 - error TS2304: Cannot find name 'FactorId_2'. #7174
Comments
+1
|
I am using firebase version: ^9.6.7 . Had the same issue |
This is my reproduced error repo. Hope helps. Pretty simple to reproduce the problem. |
Here's mine (this PR specifically, which upgrades to the latest version: jnizet/maison-solidaire#147). Steps to reproduce:
|
Same for me too 3225 static FACTOR_ID: FactorId_2; Did a npm update and build this issue came up |
A temporary work around is to add the value:
to your tsconfig.json |
Thanks for sharing the minimal repro @jnizet and @eun-choi. I was able to replicate the error with the latest version of our SDK. Let me check what we can do for this issue or bring someone from the Auth team that can provide more context about it. I’ll update this thread if I have any information to share. |
i can't build my docker image because i have the same error: Error: node_modules/@firebase/auth/dist/auth-public.d.ts:3225:23 - error TS2304: Cannot find name 'FactorId_2'. how can i solve this problem ? |
@dwyfrequency I am facing similar issue in my project can you please explain me what exactly is minimal minimal reproducible repo, my project in angular 13 could you please help me. to solve this issue. I really great thx. full to you. |
same here. |
I think downgrading to firebase@9.18.0 would work fine |
But this issue also repro on @angular/fire lib because has dependency inside to firebase. |
Doing that does not avoid the error.
Not working, this version still having the same implementation. |
Same error here, using "firebase": "^9.19.0" |
Seeing the same problem and it has left me dead in the water and not able to even start or build our project. |
We'll try to get a fix out today but you can just roll back to the previous version of Firebase (9.18.0) in the meantime. |
described here (pending fix): firebase/firebase-js-sdk#7174 (comment)
Published 9.19.1, which should have the fix. For future users who come by this issue: Do not use 9.19.0, use 9.19.1 or higher. |
@hsubox76 its work!!! |
[REQUIRED] Describe your environment
[REQUIRED] Describe the problem
Steps to reproduce:
The auth-public.d.ts file does indeed seem to reference a
FactorId_2
symbol that doesn't exist.It's documented as excluded at line 1160 of the file:
The text was updated successfully, but these errors were encountered: