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:

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
สแดแดsสแดแดกแดแดss Sep 04 '17 at 1:30 2017-09-04 01:30
source share