stefan de boer
stefan de boer

Reputation: 405

I cannot run my Firebase storage functions on the Firebase emulator

Today i ran into a problem with my Firebase Cloud Function that generates images sizes when new images are being uploaded to the Firebase Storage. This problem causes my quota to exceed after a couple uploads and when the quota exceeds the limit i am not able to use firebase anymore. Now i am trying to run this Cloud Function locally so that my quota will not exceed.

I tried running the emulator in my terminal with this command: firebase emulators:start

This initializes all my Cloud Functions except my Firebase Auth and Firebase Storage functions. The firebase docs say the emulator only supports:

Is there a way/work around so i can run my Firebase Storage and Firebase Auth functions locally?

Upvotes: 1

Views: 770

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317467

From the emulator, no. As you've seen, they're just not supported.

Look into invoking functions using the functions shell, or unit testing your functions with the functions-test module.

Upvotes: 1

Related Questions