Skip to content

Deployment Error: Node.js 12 No Longer Supported #149

@ItsBenDov

Description

@ItsBenDov

I encountered an error while deploying firebase-ext-firestore-auth-claims:

RESOURCE_ERROR at /deployments/firebase-ext-firestore-auth-claims/resources/sync: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"message":"Failed to create 1st Gen function projects/bagrut-development/locations/us-central1/functions/ext-firestore-auth-claims-sync: runtime: Runtime validation errors: [error_code: DEPLOYS_NOT_ALLOWED\nmessage: \"Runtime nodejs12 is decommissioned and no longer allowed. Please use the latest Node.js runtime for Cloud Functions.\"\n]","status":"INVALID_ARGUMENT","statusMessage":"Bad Request","requestPath":"https://cloudfunctions.googleapis.com/v1/projects/bagrut-development/locations/us-central1/functions","httpMethod":"POST"}}

It seems that Node.js 12 is no longer supported for Cloud Functions. Is there a plan to update the runtime to a supported version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions