expo / expo/snack

Failure to Resolve firebase dependency

Open
#268 5 comments 14 reactions 0 assignees View on GitHub
snackager snackager - exports support
Dominant language
TypeScript
Stars
508
Forks
178
Avg merge
5h 7m
Merged PRs (30d)
5

Description

### 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](https://user-images.githubusercontent.com/28446329/162756885-7d0f6208-68ea-4347-88bc-5e166ec8dc90.png)

### 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"
}
}

Contributor guide

Open the contributing guide

Research direction

Start with the package.json dependency set in a blank Expo Snack web project and inspect the reported Firebase resolution failure and linked screenshot. The issue does not name a source file or test; done would mean reproducing the failure, identifying its cause, and confirming that the supplied dependencies resolve successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.