george43g / better-firebase-functions

This repo provides functionality for a better way of organising files, imports and function triggers in Firebase Cloud Functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Library keeps creating deleted function

nhuethmayr opened this issue · comments

I'm running into a weird issue where a function that has been renamed keeps being deployed. Has anyone seen that before?

image

Deleting /lib (or whatever your output dir is called) and rebuilding fixed it for me. I hope that solves it for you too 🤞🏻

Deleting /lib (or whatever your output dir is called) and rebuilding fixed it for me. I hope that solves it for you too 🤞🏻

Worked like a charm - I didn't even know that there was such a temp directory.

This would happen because your old build files are still in the output directory, and bff scans this directory to find your functions. Don't think this is something this lib can fix.