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