wish of those help When you create a new function in the Cloud console, you have several options for providing the source, including an inline source editor. These is not available in the Firebase console.
Hope that helps Firebase CLI tools 3.8.0 has added the ability to deploy specific functions. firebase deploy --only functions:func1,functions:func2
only deploy to specified, comma-separated targets (e.g. "hosting,storage"). For functions,
can specify filters with colons to scope function deploys to only those functions (e.g. "--only functions:func1,functions:func2").
When filtering based on export groups (the exported module object keys), use dots to specify group names
(e.g. "--only functions:group1.subgroup1,functions:group2)"
wish helps you What worked was to make a fresh directory and set up the "Hello world" tutorial from the Firebase documentation. This creates a node_modules directory that includes firebase-admin. I then swapped the new node_modules directory with the old directory and it worked. The problem appears to have been that I had firebase-admin installed globally so npm install wouldn't install it locally in my functions directory, but firebase deploy can't find global Node modules, it has to have local Node modules. That's my guess.
Why won't Angular Firebase Cloud Functions Emulator update functions without a full deploy?
Which files are sent to the Firebase cloud functions environment when you deploy the functions?
With these it helps Everything from your functions folder gets deployed, except node_modules. It doesn't matter what your index.js contains. Cloud Functions will reconstitute your node_modules folder on the backend by running npm install. So, the contents of your package.json matters a lot.