Skip to content

Commit 357d48a

Browse files
committed
first pass at feedback
1 parent d8fd3e4 commit 357d48a

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

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

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.service: azure-functions
55
ms.date: 09/20/2023
66
ms.devlang: javascript, typescript
77
ms.custom: devx-track-js
8-
ms.topic: how-to
8+
ms.topic: troubleshooting-general
99
zone_pivot_groups: functions-nodejs-model
1010
---
1111

@@ -15,9 +15,9 @@ zone_pivot_groups: functions-nodejs-model
1515

1616
This article provides a guide for troubleshooting common scenarios in Node.js function apps.
1717

18-
The **Diagnose and solve problems** tab in the Azure portal is a useful resource to monitor and diagnose possible issues related to your application. It also supplies potential solutions to your problems based on the diagnosis. For more information, see [Azure Function app diagnostics](./functions-diagnostics.md).
18+
The **Diagnose and solve problems** tab in the [Azure portal](https://portal.azure.com) is a useful resource to monitor and diagnose possible issues related to your application. It also supplies potential solutions to your problems based on the diagnosis. For more information, see [Azure Function app diagnostics](./functions-diagnostics.md).
1919

20-
Another useful resource is the **Logs** tab in the Azure Portal for your Application Insights instance so that you can run custom [KQL queries](/azure/data-explorer/kusto/query/). The following example query shows how to view errors and warnings for your app in the past day:
20+
Another useful resource is the **Logs** tab in the [Azure portal](https://portal.azure.com) for your Application Insights instance so that you can run custom [KQL queries](/azure/data-explorer/kusto/query/). The following example query shows how to view errors and warnings for your app in the past day:
2121

2222
```kusto
2323
let myAppName = "<your app name>";
@@ -31,7 +31,7 @@ union traces,requests,exceptions
3131

3232
If those resources didn't solve your problem, the following sections provide advice for specific application issues:
3333

34-
## No Functions Found
34+
## No functions found
3535

3636
If you see this error in your deployment logs:
3737

@@ -44,11 +44,10 @@ Or this error in your function app logs:
4444
Try the following fixes:
4545

4646
::: zone pivot="nodejs-model-v4"
47-
- If you're running locally:
48-
- Make sure you're on Azure Functions Core Tools v4.0.5382 or higher.
49-
- If you're running in Azure:
50-
- Make sure you're on [Azure Functions Runtime Version](./functions-versions.md) 4.25 or higher.
51-
- Make sure you're on Node.js v18 or higher.
47+
- When running locally, make sure you're using Azure Functions Core Tools v4.0.5382 or higher.
48+
- When running in Azure:
49+
- Make sure you're using [Azure Functions Runtime Version](./functions-versions.md) 4.25 or higher.
50+
- Make sure you're using Node.js v18 or higher.
5251
- 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:
5352

5453
```kusto
@@ -75,21 +74,25 @@ If you get the following error in your function app logs:
7574
> System.Private.CoreLib: Exception while executing function: Functions.httpTrigger1. System.Private.CoreLib: Result: Failure
7675
> Exception: undici_1.Request is not a constructor
7776
78-
Try the following fixes:
79-
- Make sure you're on Node.js version 18.x or higher.
77+
Make sure you're using Node.js version 18.x or higher.
8078
8179
## Failed to detect the Azure Functions runtime
8280
8381
If you get the following error in your function app logs:
8482
8583
> WARNING: Failed to detect the Azure Functions runtime. Switching "@azure/functions" package to test mode - not all features are supported.
8684
87-
Try the following fixes:
88-
- Check your `package.json` file for a reference to `applicationinsights` and make sure the version is `^2.7.1` or higher. After updating the version, run `npm install`
85+
Check your `package.json` file for a reference to `applicationinsights` and make sure the version is `^2.7.1` or higher. After updating the version, run `npm install`
8986
::: zone-end
9087
91-
## Next steps
88+
## Get help from Microsoft
9289
93-
Microsoft support engineers are available to help diagnosing issues with your application. If you're not able to diagnose your problem using this guide, you can file a support ticket by accessing the **Support + troubleshooting** section of your function app page in the Azure portal.
90+
You can get more help from Microsoft in one of the following ways:
91+
92+
- Search the known issues in the [Azure Functions Node.js repository](https://github.com/Azure/azure-functions-nodejs-library/issues). If you don't see your issue mentioned, create a new issue and let us know what has happened.
93+
- If you're not able to diagnose your problem using this guide, Microsoft support engineers are available to help diagnose issues with your application. Microsoft offers [various support plans](https://azure.microsoft.com/support/plans). Create a support ticket in the **Support + troubleshooting** section of your function app page in the [Azure portal](https://portal.azure.com).
94+
95+
## Next steps
9496
95-
You can also contact the Azure Functions Node.js team directly [on GitHub](https://github.com/Azure/azure-functions-nodejs-library/issues).
97+
- [Microsoft Q&A page for Azure Functions](/answers/tags/87/azure-functions)
98+
- [Azure Functions Node.js developer guide](functions-reference-node.md)

0 commit comments

Comments
 (0)