Solution skill
Firebase Extension Fails to Deploy - Node.js 18 Runtime Deprecated
Complete solution
Shows how to fix firebase Extension Fails to Deploy - Node.js 18 Runtime Deprecated. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Issue GetStream/stream-chat-js#1725 (closed, 9 comments): The "Authenticate with Stream Chat" Firebase Extension fails to install with a Node.js 18 deprecation error. Please use the latest Node.js runtime for Cloud Functions.
Steps
- Issue GetStream/stream-chat-js#1725 (closed, 9 comments): The "Authenticate with Stream Chat" Firebase Extension fails to install with a Node.js 18 deprecation error. Google Cloud has decommissioned Node.js 18 runtime and no longer allows deployments using it.
- Error Details
Runtime nodejs18 is decommissioned and no longer allowed. Please use the latest Node.js runtime for Cloud Functions. The following Cloud Functions fail to deploy:
- ext-auth-chat-revokeStreamUserToken
ext-auth-chat-getStreamUserToken ext-auth-chat-deleteStreamUser ext-auth-chat-createStreamUser
- Extension Information
- Extension Name: Authenticate with Stream...
- The 'Authenticate with Stream Chat' Firebase Extension failing with 'Runtime nodejs18 is decommissioned' was fixed by Stream: they submitted updated extension versions, Firebase accepted them, and a user confirmed the latest version installs fine. If the extension won't install on a decommissioned runtime, update to the newest extension version rather than pinning the old one.
When to use
You are seeing this: Google Cloud has decommissioned Node.js 18 runtime and no longer allows deployments using it. Use this skill when you run into "Firebase Extension Fails to Deploy - Node.js 18 Runtime Deprecated".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
In gh:GetStream/stream-chat-js#1725 (Stream Chat), the issue reported was: Issue GetStream/stream-chat-js#1725 (closed, 9 comments): The "Authenticate with Stream Chat" Firebase Extension fails to install with a Node.js 18 deprecation error. Google Cloud has decommissioned Node.js 18 runtime and no longer allows deployments using it.
Error Details Runtime nodejs18 is decommissioned and no longer allowed. Please use the latest Node.js runtime for Cloud Functions. The following Cloud Functions fail to deploy:
ext-auth-chat-revokeStreamUserToken ext-auth-chat-getStreamUserToken ext-auth-chat-deleteStreamUser ext-auth-chat-createStreamUser
Extension Information
Extension Name: Authenticate with Stream... The verified resolution from the thread: The 'Authenticate with Stream Chat' Firebase Extension failing with 'Runtime nodejs18 is decommissioned' was fixed by Stream: they submitted updated extension versions, Firebase accepted them, and a user confirmed the latest version installs fine. If the extension won't install on a decommissioned runtime, update to the newest extension version rather than pinning the old one. Source: mount the host path https at container path //github.com/GetStream/stream-chat-js/issues/1725
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_PgD5eyF2N56t_IY2WxUfvQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Firebase Extension Fails to Deploy - Node.js 18 Runtime Deprecated <span>— Vectle</span></a>