Skip to content

Commit ca0f112

Browse files
(AzureCXP) fixes MicrosoftDocs/azure-docs#105025
Updating the node runtime version from 14 to 18 in az functionapp create cmdlet since node 14 is deprecated in function app. currently supported node versions for function app are 14,16,18.
1 parent b6e54f8 commit ca0f112

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/create-first-function-arc-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ On your local computer:
2828

2929
# [JavaScript](#tab/nodejs)
3030

31-
+ [Node.js](https://nodejs.org/) version 12. Node.js version 10 is also supported.
31+
+ [Node.js](https://nodejs.org/) version 18. Node.js version 14 is also supported.
3232
+ [Azure Functions Core Tools version 4.x.](functions-run-local.md?tabs=v4%2Cnode#install-the-azure-functions-core-tools).
3333
+ [Azure CLI](/cli/azure/install-azure-cli) version 2.4 or later
3434

@@ -152,7 +152,7 @@ az functionapp create --resource-group MyResourceGroup --name <APP_NAME> --custo
152152

153153
# [JavaScript](#tab/nodejs)
154154
```azurecli
155-
az functionapp create --resource-group MyResourceGroup --name <APP_NAME> --custom-location <CUSTOM_LOCATION_ID> --storage-account <STORAGE_NAME> --functions-version 4 --runtime node --runtime-version 12
155+
az functionapp create --resource-group MyResourceGroup --name <APP_NAME> --custom-location <CUSTOM_LOCATION_ID> --storage-account <STORAGE_NAME> --functions-version 4 --runtime node --runtime-version 18
156156
```
157157

158158
# [Python](#tab/python)

0 commit comments

Comments
 (0)