Skip to content

Cloud Functions not deploying: Build fails #795

@aravindvnair99

Description

@aravindvnair99

Version info

node: v10.18.1 (Issue is present irrespective of version)

firebase-functions: 3.6.1 (Issue is present irrespective of version)

firebase-tools: 8.12.1 (Issue is present irrespective of version)

firebase-admin: 9.2.0 (Issue is present irrespective of version)

Steps to reproduce

I've been trying to deploy my existing project with just a few EJS changes. But it doesn't deploy even if I redeploy old code.

Expected behavior

Should deploy

Actual behavior

{"@type":"type.googleapis.com/google.cloud.audit.AuditLog","status":{"code":13,"message":"Build failed: Build error details not available. Please check the logs at https://console.cloud.google.com/logs/viewer?project=[Name removed]&advancedFilter=resource.type%3Dbuild%0Aresource.labels.build_id%3D[ID removed]%0AlogName%3Dprojects%2F[Name removed]%2Flogs%2Fcloudbuild"},"authenticationInfo":{"principalEmail":"[Email removed]"},"serviceName":"cloudfunctions.googleapis.com","methodName":"google.cloud.functions.v1.CloudFunctionsService.UpdateFunction","resourceName":"projects/[Name removed]/locations/us-central1/functions/app"} 

Were you able to successfully deploy your functions?

No, I ended up with this:

⚠  functions[app(us-central1)]: Deployment error.
Build failed: Build error details not available. Please check the logs at https://console.cloud.google.com/logs/viewer?project=[Name removed]&advancedFilter=resource.type%3Dbuild%0Aresource.labels.build_id%3D[ID Removed]%0AlogName%3Dprojects%2F[Name removed]%2Flogs%2Fcloudbuild


Functions deploy had errors with the following functions:
	app


To try redeploying those functions, run:
    firebase deploy --only "functions:app"


To continue deploying other features (such as database), run:
    firebase deploy --except functions

Error: Functions did not deploy properly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions