You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/static-web-apps/troubleshooting.md
+22-11Lines changed: 22 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: static-web-apps
5
5
author: geektrainer
6
6
ms.service: static-web-apps
7
7
ms.topic: conceptual
8
-
ms.date: 04/07/2021
8
+
ms.date: 06/25/2024
9
9
ms.author: chrhar
10
10
---
11
11
@@ -23,17 +23,20 @@ npm run build # if specified in package.json
23
23
npm run build:azure # if specified in package.json
24
24
```
25
25
26
-
Any errors raised by this process are logged in the GitHub workflow run.
26
+
Any errors raised by this process are logged in the GitHub workflow run. To view the logs generated by build action, use the following steps.
27
27
28
28
1. Go to the GitHub repository for your static web app.
29
+
29
30
1. Select **Actions**.
30
31
31
32
> [!NOTE]
32
33
> Any failed workflow runs display with a red *X* rather than a green check mark.
33
34
34
-
2. Select the link for the workflow run you wish to validate.
35
-
3. Select **Build and Deploy Job** to open the details of the deployment
36
-
4. Select **Build And Deploy** to display the log
35
+
1. Select the link for the workflow run you wish to validate.
36
+
37
+
1. Select **Build and Deploy Job** to open the details of the deployment.
38
+
39
+
1. Select **Build And Deploy** to display the log.
37
40
38
41

39
42
@@ -42,7 +45,7 @@ Any errors raised by this process are logged in the GitHub workflow run.
42
45
> [!NOTE]
43
46
> Some warning error messages may display in red, such as notes about *.oryx_prod_node_modules* and *workspace*. These are part of the normal deployment process.
44
47
45
-
If any packages fail to install or other issues are raised you'll see the original error messages here, as if you ran the `npm` commands locally.
48
+
If any packages fail to install or other issues are raised, the original error messages are available here.
46
49
47
50
### Confirm folder configuration
48
51
@@ -75,18 +78,22 @@ Use [Application Insights](../azure-monitor/app/app-insights-overview.md) to fin
75
78
> You can only view error messages that are generated after Application Insights is installed.
76
79
77
80
1. Inside the Azure portal, open the **Resource Group** associated with your static web app.
78
-
1. Select the Application Insights instance, which has the same name as your static web app (if created using the steps above).
81
+
82
+
1. Select the Application Insights instance, which has the same name as your static web app (if created using the previous steps).
83
+
79
84
1. Under *Investigate*, select **Failures**.
80
-
1. Scroll down to *Drill into* on the right.
81
-
2. In the lower right corner, under *Drill into*, a button displays the number of recently failed operations.
85
+
86
+
1. Go down to *Drill into* on the right.
87
+
88
+
1. Under *Drill into*, a button displays the number of recently failed operations.
82
89
83
90

84
91
85
-
3. Select **x Operations** to open a panel displaying the recent failed operations.
92
+
1. Select **x Operations** to open a panel displaying the recent failed operations.
86
93
87
94

88
95
89
-
4. Explore an error by selecting one from the list.
96
+
1. Explore an error by selecting one from the list.
90
97
91
98

92
99
@@ -99,15 +106,19 @@ Application Settings are key/value pairs that set environment variables for your
99
106
When deploying, double check any environment variables are set as Application Settings.
100
107
101
108
1. Open your static web app in the Azure portal.
109
+
102
110
1. Select **Configuration**. The *Configuration* screen displays the list of all Application Settings.
103
111
104
112

0 commit comments