android – Does anyone know why I am getting this error and how one can repair it? I have been attempting to repair it for hours now (expo & react native)


Similar to how the title I can not seem to get round this error inside expo & react native. The imports I am utilizing are as comply with:

Image of the error

firebase.js:

import * as firebase from "firebase/app";
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";`

App.js

import firebase from '../firebase'

Dependencies:

`"@react-navigation/native": "^6.1.2",
"@react-navigation/native-stack": "^6.9.8",
"@react-navigation/stack": "^6.3.11",
"expo": "^45.0.0",
"expo-status-bar": "~1.3.0",
"firebase": "^9.15.0",
"react": "17.0.2",
"react-native": "0.68.2",
"react-native-maps": "1.3.2",
"react-native-safe-area-context": "4.2.4",
"react-native-screens": "~3.11.1"`

I attempted putting in firebase, altering the dependencies, importing in another way, and so forth.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles