Skip to content
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

Failure to Resolve firebase dependency #268

Open
Folami opened this issue Apr 11, 2022 · 5 comments
Open

Failure to Resolve firebase dependency #268

Folami opened this issue Apr 11, 2022 · 5 comments

Comments

@Folami
Copy link

Folami commented Apr 11, 2022

Summary

Package.json fails to resolve firebase dependency
I have been trying various alternative imports for 48 hrs, all alternatives ultimately want to import the firebase dependency which just cannot be resolved, see screenshot below.

Screenshot expo firebase

What platform(s) does this occur on?

Web

SDK Version

43.0.0

Reproducible demo or steps to reproduce from a blank project

{
"dependencies": {
"yup": "",
"formik": "
",
"firebase": "9.6.10",
"valid-url": "",
"expo-constants": "~12.1.3",
"email-validator": "
",
"@expo/vector-icons": "^12.0.0",
"react-native-paper": "4.9.2",
"firebase/compat/app": "",
"react-native-screens": "~3.8.0",
"react-native-elements": "
",
"@react-navigation/stack": "*",
"@react-navigation/native": "6.0.0",
"react-native-gesture-handler": "~1.10.2",
"react-native-safe-area-context": "3.3.2"
}
}

@irfanullahjan
Copy link

I too have this issue, only with installing firebase 9 in Expo Snack (firebase 8 work okay). Any clue what might be wrong here?

@noisae
Copy link

noisae commented Feb 19, 2023

Same here, still not working

@PhilCollins92
Copy link

PhilCollins92 commented Mar 19, 2023

I had the same problem, that’s how I solved it :
"firebase": "8.0.0",
"firebase/firestore": "",
"firebase/auth": "
"

@PhilCollins92
Copy link

Screenshot 2023-03-19 20 48 07

@AasthaSharma-git
Copy link

AasthaSharma-git commented Mar 26, 2024

Hi,
I am trying the resolution mentioned above but it gives me following error:
Unable to resolve module '@firebase/app.js'

What is the resolution to this?

PS: I am working on snack editor and expo version is 50.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants