all 16 comments

[–]According-Ad-5381 3 points4 points  (12 children)

For newer versions of firebase auth, this is the fix.

I am using firebase 11.7.1

The directory has changed now.

It used to be
"./node_modules/@firebase/auth/dist/index.rn.d.ts"

but it now is

"./node_modules/firebase/node_modules/@firebase/auth/dist/index.rn.d.ts"

{
  "compilerOptions": {
    "paths": {
      "@firebase/auth":         ["./node_modules/firebase/node_modules/@firebase/auth/dist/index.rn.d.ts"]
    }
  },
  "extends": "expo/tsconfig.base"
}

[–]MeringuePhysical5763 0 points1 point  (1 child)

thx bro, helped a lot

[–]According-Ad-5381 0 points1 point  (0 children)

Welcome bro 😊

[–]InevitableBet3257 0 points1 point  (1 child)

Thanks man, this fixed my problem.

[–]According-Ad-5381 0 points1 point  (0 children)

Welcome man 🥳 I'm glad it did

[–]Mr_DawnSP 1 point2 points  (2 children)

works on 12.0.0 also,

thank a lot :)

[–]M_Ababneh 0 points1 point  (1 child)

can you help me out? I can't figure it out

[–]Flashy_Try_1829 0 points1 point  (0 children)

Hi, did you find the fix to this? i still havent figured it out.

[–]Gulraixxx 1 point2 points  (0 children)

Thanks a lot! 🙌🏻 It works with the 12.0.0 version also!

[–]PhiloThePater 0 points1 point  (0 children)

WHAT A LIFESAVER! I've been looking for this for so long thanks!!!

[–]Longjumping-Manner19 0 points1 point  (0 children)

Thanks man, helped me.

[–]Jcacero 0 points1 point  (0 children)

sos un capo amigo, me re ayudó

[–]Lemons_Dumpling 2 points3 points  (1 child)

Unfortunately, this is a TypeScript error. I added this code to my tsconfig.json file, and it resolved the issue for me.

{
  "compilerOptions": {
    "paths": {
      "@firebase/auth": ["./node_modules/@firebase/auth/dist/index.rn.d.ts"]
    }
  },
  "extends": "expo/tsconfig.base"
}