title: Unable to deploy/update google cloud function
body: <p>I have a Firebase project with 29 functions 2 with python and 27 with nodejs.</p>
  <p>Modified 2 of them and now I can't deploy properly. I get an error log that send me to the logviewer and one of the errors is:</p>
  <blockquote>
  <p>ERROR: build step 3
  &quot;us.gcr.io/fn-img/buildpacks/nodejs10/builder:nodejs10_20201201_20_RC00&quot;
  failed: step exited with non-zero status: 46</p>
  </blockquote>
  <p>The functions keep on working, but I can't update/deploy properly. When I try to deploy them individually I get that error for both functions, but when I try to deploy ALL the functions I only get the error with those 2 functions the rest of the functions, that don't have any modification have no problem redeploying.</p>
  <p>I checked the source code in the Cloud console and they have a warning icon saying that:</p>
  <blockquote>
  <p>Function is active, but last deployment failed</p>
  </blockquote>
  <p>The source code in the Cloud console is the same as the one I'm trying to deploy but the functions has the same functionality that before when I made the changes, the functions still works but can't update.</p>
  <p>These are javascript functions that I deployed using the Firebase Node Sdk.</p>
  <p>Any help?</p>
  <p>EDIT I:
  I reverted the changes on one of the functions that's been there for over 2 years and still have the same issue, can't update/deploy, that function triggers on <code>storage.onFinalize()</code>.
  The other function on <code>firestore.onCreate()</code></p>
  <p>EDIT II:
  The newest function that I created is not in use, is part of a new feature in my android application, so I duplicated it, gave it different name and deployed without issues. In that case I could delete the original function without any issue as is not being used. But I can't do the same for the other function, the other function is constantly in use.</p>