Skip to content

Commit 2bb353d

Browse files
committed
feedback
1 parent 45536a4 commit 2bb353d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,18 @@ Each binding requires a direction, a type, and a unique name. The HTTP trigger h
148148
# [Azure CLI](#tab/azure-cli)
149149

150150
```azurecli
151-
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location <REGION> --runtime node --runtime-version 20 --functions-version 4 --name <APP_NAME> --storage-account <STORAGE_NAME>
151+
az functionapp create --resource-group AzureFunctionsQuickstart-rg --consumption-plan-location <REGION> --runtime node --runtime-version 18 --functions-version 4 --name <APP_NAME> --storage-account <STORAGE_NAME>
152152
```
153153

154-
The [az functionapp create](/cli/azure/functionapp#az-functionapp-create) command creates the function app in Azure. It's recommended that you use the latest version of Node.js, which is currently 20. You can specify the version by setting `--runtime-version` to `20`. Note that Node 20 support is currently in preview.
154+
The [az functionapp create](/cli/azure/functionapp#az-functionapp-create) command creates the function app in Azure. It's recommended that you use the latest LTS version of Node.js, which is currently 18. You can specify the version by setting `--runtime-version` to `18`.
155155

156156
# [Azure PowerShell](#tab/azure-powershell)
157157

158158
```azurepowershell
159-
New-AzFunctionApp -Name <APP_NAME> -ResourceGroupName AzureFunctionsQuickstart-rg -StorageAccount <STORAGE_NAME> -Runtime node -RuntimeVersion 20 -FunctionsVersion 4 -Location <REGION>
159+
New-AzFunctionApp -Name <APP_NAME> -ResourceGroupName AzureFunctionsQuickstart-rg -StorageAccount <STORAGE_NAME> -Runtime node -RuntimeVersion 18 -FunctionsVersion 4 -Location <REGION>
160160
```
161161

162-
The [New-AzFunctionApp](/powershell/module/az.functions/new-azfunctionapp) cmdlet creates the function app in Azure. It's recommended that you use the latest version of Node.js, which is currently 20. You can specify the version by setting `--runtime-version` to `20`. Note that Node 20 support is currently in preview.
162+
The [New-AzFunctionApp](/powershell/module/az.functions/new-azfunctionapp) cmdlet creates the function app in Azure. It's recommended that you use the latest LTS version of Node.js, which is currently 18. You can specify the version by setting `--runtime-version` to `18`.
163163

164164
---
165165

includes/functions-requirements-visual-studio-code-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.author: glenga
88

99
+ An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio).
1010

11-
+ [Node.js 18.x](https://nodejs.org/en/download/releases/) or [Node.js 20.x (preview)](https://nodejs.org/en/download/releases/). Use the `node --version` command to check your version.
11+
+ [Node.js 14.x](https://nodejs.org/en/download/releases/) or above. Use the `node --version` command to check your version.
1212

1313
+ [Visual Studio Code](https://code.visualstudio.com/) on one of the [supported platforms](https://code.visualstudio.com/docs/supporting/requirements#_platforms).
1414

0 commit comments

Comments
 (0)