We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe09b3 commit 8c0d158Copy full SHA for 8c0d158
src/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.ts
@@ -15,7 +15,7 @@ const supportedNodeVersions: string[] = Object.keys(supported.RUNTIMES)
15
export const RUNTIME_NOT_SET =
16
"`runtime` field is required but was not found in firebase.json or package.json.\n" +
17
"To fix this, add the following lines to the `functions` section of your firebase.json:\n" +
18
- `"runtime": "${supported.latest("nodejs")}" or set the "engine" field in package.json\n`;
+ `"runtime": "${supported.latest("nodejs")}" or set the "engines" field in package.json\n`;
19
20
function getRuntimeChoiceFromPackageJson(sourceDir: string): supported.Runtime {
21
const packageJsonPath = path.join(sourceDir, "package.json");
0 commit comments