Open its-dibo opened 4 years ago
We also don't have a proper error message when a module is missing. For example, when deploying Cloud Functions firebase deploy --only functions
, a dependency was missing on my package.json
. A got the following error:
Error setting up the execution environment for your function. Please try deploying again after a few minutes.
Because it was asking me to try again after a few minutes, I thought it could be a network issue. However, after a couple of days failing to deploy any functions, I've decided to go to the GCP console and view the logs. Only there I found out the error was caused by a missing dependency: Cannot find module xxx
.
Ideally, that error message should be displayed in the CLI when that error occurs.
many time I get error messages when I'm trying to deploy my app to Firebase using Firebase cli, but I cannot figure out the reason of these errors and how to fix them.
so, please provide us a link of more details about this error, and tell us what exactly causes this error.
as an example, I faced this error
Failed to verify the provided Cloud Storage Signed URL
but there is no way to know what exactly caused this error, and what can I do for my app to deploy correctly.