I am using firebase auth in my React-native But I am facing the following error: ReferenceError: Can’t find variable: IDBIndex. We are going to Learn about All Possible Solutions So Lets Get Start with This Article.
How ReferenceError: Can’t find variable: IDBIndex Error Occurs ?
I am using firebase auth in my React-native But I am facing the following error.
ReferenceError: Can't find variable: IDBIndex
So here I am writing all possible solutions that I have tried to resolve this error.
How To Solve ReferenceError: Can’t find variable: IDBIndex Error ?
How To Solve ReferenceError: Can’t find variable: IDBIndex Error?
To Solve ReferenceError: Can’t find variable: IDBIndex Error Firebase 8.2.3 is working fine so you can Use Firebase 8.2.3 and then your error should be fixed.
ReferenceError: Can’t find variable: IDBIndex
To Solve ReferenceError: Can’t find variable: IDBIndex Error Here I am facing this issue in firebase’s latest version. So Just downgrading firebase is working fine. Use “firebase”: “9.6.7” and now Your error must be solved. First of all delete node_modules. Then delete yarn.lock Now, downgrade firebase to “9.6.7” yarn add firebase@9.6.7. Then download the package using
yarn install
. Now, your error must be solved. Thank You.
Solution 1: Downgrade firebase
Here I am facing this issue in firebase’s latest version. So Just downgrading firebase is workingfine. Use "firebase": "9.6.7"
and now Your error must be solved.
- First of all delete node_modules.
- Then delete yarn.lock
- Now, downgrad firebase to “9.6.7”
yarn add firebase@9.6.7
- Then download package using
yarn install
- Now, your error must be solved. Thank You.
Solution 2: Use Firebase 8.2.3
Firebase 8.2.3 is working fine so you can Use Firebase 8.2.3 and then your error should be fixed.
Summary
It’s all About this error. Hope We solved Your error. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read