skip to Main Content

Ubuntu – Cant access Firebase Admin SDK via Node.js on my VPS, but I can on my local machine

When running this code on my VPS: import admin from 'firebase-admin' import serviceAcc from '../config/test.json' export async function fbAdminSdkTest() { try { console.log('using credentials') console.log(admin.credential.cert(serviceAcc as any)) console.log('!') admin.initializeApp({ credential: admin.credential.cert(serviceAcc as any), }) const test = await admin.auth().createUser({ email:…

VIEW QUESTION

Firebase – How can I connect to a non-default firestore database using Node (using multiple firestore databases)?

I have multiple firestore databases in my project. The databases were created using the command line and I can see it in the Firestore Databases preview following the instructions here: https://cloud.google.com/blog/products/databases/manage-multiple-firestore-databases-in-a-project I am able to connect to the default database,…

VIEW QUESTION

Debian – Error in building wheel for cryptography while installing firebase-admin on raspberry pi 3

I was installing firebase-admin using pip on my raspberry pi 3b+ using the following command: pip3 install firebase-admin However it always ends with an error saying "Error building wheel for cryptography" Here is the full error message: /tmp/pip-build-env-k7qo7p54/overlay/lib/python3.7/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing…

VIEW QUESTION
Back To Top
Search