You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this may be related to #9735 . It looks like very similar behavior I am seeing when trying to deploy updates to my firebase functions.
[REQUIRED] Environment info
15.5.1
macOS
firebase deploy --only functions
[REQUIRED] Expected behavior
The function should deploy to the firebase environment-- it should be deploying, and passing the health check.
A note-- I see that when i execute the deploy of functions the firebase-functions library outputs a port it is running on. That number appears random-- some 8xxx number. But the failure on the cloud run indicates port 8080-- now that may be unrelated as the logs clearly indicate it can not load the module mentioned above.
I'm not sure I mentioned it-- but in the deployment log-- the log indicates:
Detailed stack trace: Error: Cannot find module 'firebase-functions/v2/https'
Then the healthcheck fails after a timeout and no deployment.
@josephconderlms Just flagging that your linked debug.txt above contains sensitive info like API keys - recommend you remove that file immediately and rotate credentials as they could be compromised.
Separately, I'm seeing a similar issue, will file shortly.
Hey @josephconderlms, at the moment, it's difficult to determine what is causing this issue. I tried reproducing it, but no errors were raised when I tried deploying.
To help us debug and check if the issue is with firebase-tools, could you please provide a minimal reproducible example? If you think the issue is caused by server side changes(similar to #9735), it may be worth reading out to our Firebase Support team to verify if this is the case.
Regarding the random port 8xxx, this is not related to the error you mentioned. For context, when we deploy your functions, the Firebase CLI loads your functions code so that it can be discovered an analyzed(determine triggers, etc.). This port is only temporarily open and is only used during our functions discovery process. This is intentionally randomized to make sure we find an open port on your local machine, and is not used when the function is deployed on the container
Activity
josephconderlms commentedon Feb 1, 2026
I'm not sure I mentioned it-- but in the deployment log-- the log indicates:
Detailed stack trace: Error: Cannot find module 'firebase-functions/v2/https'
Then the healthcheck fails after a timeout and no deployment.
vipshek commentedon Feb 1, 2026
@josephconderlms Just flagging that your linked debug.txt above contains sensitive info like API keys - recommend you remove that file immediately and rotate credentials as they could be compromised.
Separately, I'm seeing a similar issue, will file shortly.
aalej commentedon Feb 2, 2026
Hey @josephconderlms, at the moment, it's difficult to determine what is causing this issue. I tried reproducing it, but no errors were raised when I tried deploying.
To help us debug and check if the issue is with firebase-tools, could you please provide a minimal reproducible example? If you think the issue is caused by server side changes(similar to #9735), it may be worth reading out to our Firebase Support team to verify if this is the case.
Regarding the random port 8xxx, this is not related to the error you mentioned. For context, when we deploy your functions, the Firebase CLI loads your functions code so that it can be discovered an analyzed(determine triggers, etc.). This port is only temporarily open and is only used during our functions discovery process. This is intentionally randomized to make sure we find an open port on your local machine, and is not used when the function is deployed on the container
josephconderlms commentedon Feb 6, 2026
This issue is resolved. A custom NPM repository I use had an SSL cert expire. I did not notice this locally.