george43g / better-firebase-functions

This repo provides functionality for a better way of organising files, imports and function triggers in Firebase Cloud Functions
Mozilla Public License 2.0
179 stars 15 forks source link

Issue deploying functions in nested folders? #15

Closed danmalone89 closed 2 years ago

danmalone89 commented 3 years ago

I have a functions src folder like so

someFunction.ts deploys just fine with BFF. However, I receive a 400 error on the stripeFunction.ts error when using firebase deploy --only functions.

This is the error I receive in my console, however the recommended command doesn't work either. If I move stripeFunction to the http folder, then it deploys fine, but not from the stripe folder.

Functions deploy had errors with the following functions:
        http-stripe\stripeFunction

To try redeploying those functions, run:
    firebase deploy --only functions:http.stripe\stripeFunction
george43g commented 2 years ago

I believe deeply nested folders were broken for a while. These should work now. Please reopen this issue if it still exists for you.