0

I am trying to install the firebase package in one local expo-managed project, But it shows the following error...

The error message I am getting

Please help, I have tried "expo install firebase" or "npm install firebase" but none works. I am stuck on this for days. My project just won't work without the firebase package.

1 Answers1

1

Seem that you need to add(install) firebase admin SDK (which include python modules) to your project:

Add SDK

$ sudo pip install firebase-admin

and then initialize it with npm:

Add Firebase SDKs and initialize Firebase

Install the Firebase JavaScript SDK:

a. If you don't already have a package.json file, create one by running the following command from the root of your JavaScript project:

npm init

b. Install the firebase npm package and save it to your package.json file by running:

npm install --save firebase

the link refer to several other configuration that you may need to double check about how to create the firebase project and its configurations.

Jaime López
  • 448
  • 3
  • 11