Skip to content

Commit 50707e4

Browse files
committed
more feedback
1 parent 357d48a commit 50707e4

6 files changed

+10
-11
lines changed

articles/azure-functions/durable/durable-functions-node-model-upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Upgrade your Durable Functions app to version 4 of the Node.js programming model
2+
title: Migrate your Durable Functions app to version 4 of the Node.js programming model
33
description: This article shows you how to upgrade your existing Durable Functions apps running on v3 of the Node.js programming model to v4.
44
author: hossam-nasr
55
ms.service: azure-functions
@@ -11,7 +11,7 @@ ms.topic: how-to
1111
zone_pivot_groups: programming-languages-set-functions-nodejs
1212
---
1313

14-
# Upgrade your Durable Functions app to version 4 of the Node.js programming model
14+
# Migrate your Durable Functions app to version 4 of the Node.js programming model
1515

1616
This article provides a guide to upgrade your existing Durable Functions app to version 4 of the Node.js programming model. Note that this article uses "TIP" banners to summarize the key steps needed to upgrade your app.
1717

articles/azure-functions/functions-node-troubleshoot.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Troubleshoot Node.js apps in Azure Functions
3-
description: Learn how to troubleshoot Node.js apps in Azure Functions.
3+
description: Learn how to troubleshoot common errors when you deploy or run a Node.js app in Azure Functions.
44
ms.service: azure-functions
55
ms.date: 09/20/2023
66
ms.devlang: javascript, typescript
@@ -33,12 +33,10 @@ If those resources didn't solve your problem, the following sections provide adv
3333

3434
## No functions found
3535

36-
If you see this error in your deployment logs:
36+
If you see any of the following errors in your logs:
3737

3838
> No HTTP triggers found.
3939
40-
Or this error in your function app logs:
41-
4240
> No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).
4341
4442
Try the following fixes:
@@ -48,7 +46,8 @@ Try the following fixes:
4846
- When running in Azure:
4947
- Make sure you're using [Azure Functions Runtime Version](./functions-versions.md) 4.25 or higher.
5048
- Make sure you're using Node.js v18 or higher.
51-
- Check your function app logs for entry point errors. First, set the app setting `FUNCTIONS_NODE_BLOCK_ON_ENTRY_POINT_ERROR` to `1` to ensure all errors are tracked in yours logs. The following example query shows how to view entry point errors for your app in the past day:
49+
- Set the app setting `FUNCTIONS_NODE_BLOCK_ON_ENTRY_POINT_ERROR` to `1`. This setting is recommended for all model v4 apps and ensures that all entry point errors are visible in your application insights logs.
50+
- Check your function app logs for entry point errors. The following example query shows how to view entry point errors for your app in the past day:
5251

5352
```kusto
5453
let myAppName = "<your app name>";

articles/azure-functions/functions-reference-node.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ zone_pivot_groups: functions-nodejs-model
1414
This guide is an introduction to developing Azure Functions using JavaScript or TypeScript. The article assumes that you have already read the [Azure Functions developer guide](functions-reference.md).
1515

1616
> [!IMPORTANT]
17-
> The content of this article changes based on your choice of the Node.js programming model in the selector at the top of this page. The version you choose should match the version of the [`@azure/functions`](https://www.npmjs.com/package/@azure/functions) npm package you are using in your app. If you do not have that package listed in your `package.json`, the default is v3. Learn more about the differences between v3 and v4 in the [upgrade guide](./functions-node-upgrade-v4.md).
17+
> The content of this article changes based on your choice of the Node.js programming model in the selector at the top of this page. The version you choose should match the version of the [`@azure/functions`](https://www.npmjs.com/package/@azure/functions) npm package you are using in your app. If you do not have that package listed in your `package.json`, the default is v3. Learn more about the differences between v3 and v4 in the [migration guide](./functions-node-upgrade-v4.md).
1818
1919
As a Node.js developer, you might also be interested in one of the following articles:
2020

includes/functions-nodejs-durable-model-description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ ms.custom: include file
1010
---
1111

1212
> [!NOTE]
13-
> Version 4 of the Node.js programming model for Azure Functions is generally available. The new v4 model is designed to have a more flexible and intuitive experience for JavaScript and TypeScript developers. Learn more about the differences between v3 and v4 in the [upgrade guide](../articles/azure-functions/functions-node-upgrade-v4.md).
13+
> Version 4 of the Node.js programming model for Azure Functions is generally available. The new v4 model is designed to have a more flexible and intuitive experience for JavaScript and TypeScript developers. Learn more about the differences between v3 and v4 in the [migration guide](../articles/azure-functions/functions-node-upgrade-v4.md).
1414
>
1515
> In the following code snippets, JavaScript (PM4) denotes programming model V4, the new experience.

includes/functions-nodejs-model-pivot-description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ ms.custom: include file
1010
---
1111

1212
> [!IMPORTANT]
13-
> The content of this article changes based on your choice of the Node.js programming model in the selector at the top of the page. The v4 model is generally available and is designed to have a more flexible and intuitive experience for JavaScript and TypeScript developers. Learn more about the differences between v3 and v4 in the [upgrade guide](../articles/azure-functions/functions-node-upgrade-v4.md).
13+
> The content of this article changes based on your choice of the Node.js programming model in the selector at the top of the page. The v4 model is generally available and is designed to have a more flexible and intuitive experience for JavaScript and TypeScript developers. Learn more about the differences between v3 and v4 in the [migration guide](../articles/azure-functions/functions-node-upgrade-v4.md).

includes/functions-nodejs-model-tabs-description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ ms.custom: include file
1010
---
1111

1212
> [!IMPORTANT]
13-
> This article uses tabs to support multiple versions of the Node.js programming model. The v4 model is generally available and is designed to have a more flexible and intuitive experience for JavaScript and TypeScript developers. Learn more about the differences between v3 and v4 in the [upgrade guide](../articles/azure-functions/functions-node-upgrade-v4.md).
13+
> This article uses tabs to support multiple versions of the Node.js programming model. The v4 model is generally available and is designed to have a more flexible and intuitive experience for JavaScript and TypeScript developers. Learn more about the differences between v3 and v4 in the [migration guide](../articles/azure-functions/functions-node-upgrade-v4.md).

0 commit comments

Comments
 (0)