Skip to content

Extension v0.2.3 fails to install - Node.js 22 not supported on Cloud Functions Gen 1 #711

@moritztomasi

Description

@moritztomasi

Description:

The Stream Chat Authentication extension v0.2.3 fails to install due to specifying Node.js 22 runtime for Generation 1 Cloud Functions. According to Google's documentation and error messages, Gen 1 functions only support up to Node.js 20.

Steps to Reproduce:

  • Attempt to install "Authenticate with Stream Chat" extension v0.2.3
  • Installation fails with runtime validation errors

Expected Behavior:

The extension should install successfully.

Actual Behavior:

Installation fails with the following error for all functions:

Runtime "nodejs22" is not supported on GCF Gen1

Root Cause:

The extension.yaml file specifies nodejs22 runtime while using Generation 1 Cloud Functions, which is not a supported combination according to Google Cloud Functions documentation.

Suggested Fix:

Either:

  • Downgrade to Node.js 20 or 18 runtime for compatibility with Gen 1 functions
  • Migrate to Generation 2 Cloud Functions to use Node.js 22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions