File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/deploy/functions/runtimes/node Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,16 +24,16 @@ const ENGINE_RUNTIMES_NAMES = Object.values(ENGINE_RUNTIMES);
2424export const RUNTIME_NOT_SET =
2525 "`runtime` field is required but was not found in firebase.json.\n" +
2626 "To fix this, add the following lines to the `functions` section of your firebase.json:\n" +
27- '"runtime": "nodejs16 "\n' ;
27+ '"runtime": "nodejs18 "\n' ;
2828
2929export const UNSUPPORTED_NODE_VERSION_FIREBASE_JSON_MSG = clc . bold (
3030 `functions.runtime value is unsupported. ` +
31- `Valid choices are: ${ clc . bold ( "nodejs{10|12|14|16}" ) } .`
31+ `Valid choices are: ${ clc . bold ( "nodejs{10|12|14|16|18 }" ) } .`
3232) ;
3333
3434export const UNSUPPORTED_NODE_VERSION_PACKAGE_JSON_MSG = clc . bold (
3535 `package.json in functions directory has an engines field which is unsupported. ` +
36- `Valid choices are: ${ clc . bold ( '{"node": 10|12|14|16}' ) } `
36+ `Valid choices are: ${ clc . bold ( '{"node": 10|12|14|16|18 }' ) } `
3737) ;
3838
3939export const DEPRECATED_NODE_VERSION_INFO =
You can’t perform that action at this time.
0 commit comments