Questions tagged [firebase-cli]

The Firebase CLI offers a range of functionalities for the management, monitoring, and deployment of Firebase projects. Additionally, it includes emulators for Firebase products. Users can access these features through the npm module firebase-tools.

What steps can I take to deploy to Firebase functions without facing any npm dependency conflicts?

I've been working on setting up an Angular Universal project and encountered an issue when trying to deploy it. After successfully compiling it with npm run build:ssr, I faced errors while deploying using firebase deploy. === Deploying to 'terabu ...

Executing Firebase Functions offline with secure connections (HTTPS)

I am facing an issue with CORS between my React app served over HTTPS (required for a service worker) and my backend running locally with Firebase Functions. My backend, which is a wrapper for an Express application with the CORS module enabled, is respon ...

Having trouble with triggers: Unable to locate the module 'csv-parse/sync' for parsing

Currently, I am utilizing Firebase functions to create an API that is capable of parsing CSV files. However, whenever I attempt to utilize csv-parse/sync instead of csv-parse, my deployment to Firebase Functions encounters a failure with the subsequent er ...

What is the version of Firebase installed in my npm package?

There seems to be a discrepancy between the versions returned by npm list firebase and firebase --version. For example, when I run: npm list firebase `-- <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="7b1d12091e191a081e3b4f554 ...

I encountered an error with Firebase when attempting to run functions on my local machine

Encountering a Firebase error when running the function locally using emulator in CLI $ firebase emulators:start --only functions Initiating emulators: ["functions"] functions: Using node@8 from host. functions: Emulator started at http://localhost:50 ...

When Firebase cli is not installed globally, you might encounter issues when trying

Currently using my work computer to work on a side project where I am exploring new features of Firebase. However, I ran into an issue since I am unable to install modules globally on this corporate device. When trying to install firebase-cli with the reco ...