React Native + Firebase + Expo Versions Love Triangle Issues

I am trying to implement React Native authentication using Firebase using Expo. I currently have the following versions:

  • Expo: 20.0.0
  • npm: 5.4.0
  • firebase: 4.3.0

I get the following error:

Error: React native is not installed. Run npm install in the project directory.

How did I get here

Expo recommends npm version 4.6.1. (In fact, on the Expo forum, here in the post about npm applications, it is recommended to downgrade to version 4. * versions for npm). But firebase 4.3.0 cannot be installed with npm version 4.6.1. Therefore, I updated npm to the latest 5.4.0. Firebase is installed perfectly, but now I quit due to an error in Expo. And here is the error message when I try to install firebase with npm 4.6.1:

enter image description here

Question (s)

  • Is it possible to use an older version of firebase that will work with npm 4.6.1? Which version will be?
  • Is there any other workaround (another, older version of firebase)? Has anyone successfully implemented RN + Firebase + Expo?



Edit : search for answers on the Expo forum: link

+2
npm react-native firebase expo
Sep 04 '17 at 1:30
source share

No one has answered this question yet.

See similar questions:

49
Build an iOS app without Mac ownership?

or similar:

5
Responsive to the environment
four
How to use firebase account using expo
four
Expo + React native version mismatch error (JavaScript version: 0.55.4, native version: 0.57.1)
four
firebase phone sms authentication in response native and expo
one
React Navigation npm install ERR fresh Expo Init @ react-navigation / native @ 3.1.4
one
Expo, Firebase, Log in to Google
0
My React Native application does not start
0
respond to a native lost exhibit
0
Fixed installation error in expo application
0
question with reaction-native and expo



All Articles