Skip to content

Commit e640219

Browse files
HugoGresseclaude
andcommitted
Set functions runtime to Node 22 (max firebase-tools supports)
engines.node=24 breaks firebase-tools at function load time — both the emulator and deploy reject it: FirebaseError: Detected node engine 24 in package.json, which is not a supported version. Valid versions are 20, 22 This surfaced as an e2e failure: the functions emulator refused to load, so vote aggregation never ran and feedback/talk.spec.js timed out. nodejs24 is GA on Cloud Functions, but no released firebase-tools (latest 15.20.0) supports it yet, so 22 is the highest usable runtime. Revisit 24 once firebase-tools ships nodejs24 support. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 49b82a3 commit e640219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "vitest"
1414
},
1515
"engines": {
16-
"node": "24"
16+
"node": "22"
1717
},
1818
"main": "lib/index.js",
1919
"dependencies": {

0 commit comments

Comments
 (0)